A generator for systemd unit files
Project description
sug - systemd unit generator
Motivation
I am on a fresh server and want to have systemd unit. It has python installed.
Installation
pip install sug
Better:
pipx install sug
Usage
Sug is pretty simple, you can invoke it like this:
Usage: sug [OPTIONS] NAME WORKING_DIR EXEC_START BIN_PATH USER GROUP
Example
This is an invocation example for sug:
sug "myservice" /var/run/myservice "$(which myservice) --verbose" $(which myservice) $USER $USER
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
sug-0.1.0.tar.gz
(2.1 kB
view details)
Built Distribution
sug-0.1.0-py3-none-any.whl
(2.4 kB
view details)
File details
Details for the file sug-0.1.0.tar.gz
.
File metadata
- Download URL: sug-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-43-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8129060f94f24389fbacbdb9a7d241b0ced62cf3fa025d397a96031207e3e5c0 |
|
MD5 | 7f5d24947e1453fbba953f8cfd47e34b |
|
BLAKE2b-256 | 7da801e35489e5fcac36435fde99ef64bff8d2a3a314e137a105778a4229302a |
File details
Details for the file sug-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: sug-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-43-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84b37058e3c8e3a39982086c58830aff745e4fef2a17fd229de9dd280e68641f |
|
MD5 | 8d3e487666141be814573803bd983a38 |
|
BLAKE2b-256 | 2639eb24a3ee07f5a1f793769820bc02b20ba0787dedb95bceb0e915d174afc1 |