Skip to main content

A tool to generate systemd service files from a configuration file.

Project description

systemd_service_generator

A tool to generate systemd service files from a configuration file.

Installation

pip install systemd_service_generator

Usage

sdg path/to/config.json

Configuration File

The configuration file should be a JSON file with the following structure:

{
    "service_name": "your_service_name",
    "description": "Your service description",
    "exec_start": "/path/to/your/executable",
    "user": "optional_user",
    "workingDirectory": "/path/to/working/directory"
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

systemd_service_generator-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

systemd_service_generator-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file systemd_service_generator-1.0.0.tar.gz.

File metadata

File hashes

Hashes for systemd_service_generator-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a4db5eef512189c379b87451a0d64af87600f773feaed050c5a1d1d1406416fd
MD5 de0c43fc37eea5caaf7e4b05fb29f6a0
BLAKE2b-256 b2e781adaabdbaf0fc57b6d2206e2afdf0ad9e876120806bbac8577a9c674098

See more details on using hashes here.

File details

Details for the file systemd_service_generator-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for systemd_service_generator-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ab58440c337acb339ee189181f46055aedb9546428517d9d8ee1a82f8726334
MD5 a8f76732a335562d81135ea4dd46a17e
BLAKE2b-256 ac59f8c5b8843a6eabaaa12b2f5d166af357cdad5729e8b28d8393a5feb7a84a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page