4thel00z / sug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:GNU General Public License v3.0


Languages

Language:Python 60.3%Language:Makefile 39.7%