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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file systemd_service_generator-1.0.2.tar.gz.
File metadata
- Download URL: systemd_service_generator-1.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565589cb4eb3b4af3f14e25397cc22fa422abc523c6eb00f702870ed8c8427e5
|
|
| MD5 |
e18313aded7b925920b8752c7bd1c5f9
|
|
| BLAKE2b-256 |
ed652b26d2ab8e16af882c75ac0fbad4cdc5862603bad7872780d445d6c2c059
|
File details
Details for the file systemd_service_generator-1.0.2-py3-none-any.whl.
File metadata
- Download URL: systemd_service_generator-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0470b41227de2ee1f7e887bc1452653e1a60b9049f96a8d3557e684ca632b39e
|
|
| MD5 |
95eee353ba35c6adddb6de3607ffb9a6
|
|
| BLAKE2b-256 |
642ebd1cfcaa34333af4235ce4f78e110d76bcda4b3cc806e3596fcd2f60e795
|