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.2.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.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for systemd_service_generator-1.0.2.tar.gz
Algorithm Hash digest
SHA256 565589cb4eb3b4af3f14e25397cc22fa422abc523c6eb00f702870ed8c8427e5
MD5 e18313aded7b925920b8752c7bd1c5f9
BLAKE2b-256 ed652b26d2ab8e16af882c75ac0fbad4cdc5862603bad7872780d445d6c2c059

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for systemd_service_generator-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0470b41227de2ee1f7e887bc1452653e1a60b9049f96a8d3557e684ca632b39e
MD5 95eee353ba35c6adddb6de3607ffb9a6
BLAKE2b-256 642ebd1cfcaa34333af4235ce4f78e110d76bcda4b3cc806e3596fcd2f60e795

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