Skip to main content

A generator for systemd unit files

Project description

sug - systemd unit generator

sug.png

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.

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

sug-0.1.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

sug-0.1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file sug-0.1.1.tar.gz.

File metadata

  • Download URL: sug-0.1.1.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

Hashes for sug-0.1.1.tar.gz
Algorithm Hash digest
SHA256 25943fa1e33a1fdd0d002309c49a18645f21f412549f30c71d138c1604b23448
MD5 b153a6b75ed1945e2bb313a1ef59dce8
BLAKE2b-256 bebadcd88d10aae062c9e536b6ba3582d3c42d82f36a035aa412cf48e3536ca0

See more details on using hashes here.

File details

Details for the file sug-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: sug-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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

Hashes for sug-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c13dc32b3af1fc8b6d8266ed643b6b40e64bef5d6985a6d841ba071b3ec35b20
MD5 d98b3b683e225e20acc84846b7e4d48a
BLAKE2b-256 75335b6ef53c0174ef2fcf8ca4f9eb0044a61917ea4deaebd8ec9501b43253a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page