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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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