/sug

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

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.