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
License
This project is licensed under the GPL-3 license.
Metadata
Release files for sug 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sug-0.1.1.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sug-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / sug-0.1.1.tar.gz
| Download URL | sug-0.1.1.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25943fa1e33a1fdd0d002309c49a18645f21f412549f30c71d138c1604b23448
|
|
BLAKE2b-256 checksum How to use checksums |
bebadcd88d10aae062c9e536b6ba3582d3c42d82f36a035aa412cf48e3536ca0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-43-generic
|
Release files / sug-0.1.1-py3-none-any.whl
| Download URL | sug-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c13dc32b3af1fc8b6d8266ed643b6b40e64bef5d6985a6d841ba071b3ec35b20
|
|
BLAKE2b-256 checksum How to use checksums |
75335b6ef53c0174ef2fcf8ca4f9eb0044a61917ea4deaebd8ec9501b43253a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.10.0 Linux/5.11.0-43-generic
|