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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for systemd_service_generator-1.0.1.tar.gz
Algorithm Hash digest
SHA256 262bfc8e91cddef3bd1bb0ddb01bc284ff051805b2f8d86d9b3a8216a3f3b6a2
MD5 e7fe5dd292328c4fb694035f8797580e
BLAKE2b-256 58daf3dd2087945c257e7dbe74832dda0aa259861d6dcb89632c8773cd39c9d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for systemd_service_generator-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c34dcd1b630f66aed40eb61b684d21bdde79a3932d09b9a2d15c5635ecbe6ccc
MD5 0ad5545e0cd4463964eed5bc2cf8e0be
BLAKE2b-256 8bce7f1529ae501a0f5660789e2e7be96b3a7b05563cc391a26ac21654130cc0

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