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 

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.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

sug-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sug-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8129060f94f24389fbacbdb9a7d241b0ced62cf3fa025d397a96031207e3e5c0
MD5 7f5d24947e1453fbba953f8cfd47e34b
BLAKE2b-256 7da801e35489e5fcac36435fde99ef64bff8d2a3a314e137a105778a4229302a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sug-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84b37058e3c8e3a39982086c58830aff745e4fef2a17fd229de9dd280e68641f
MD5 8d3e487666141be814573803bd983a38
BLAKE2b-256 2639eb24a3ee07f5a1f793769820bc02b20ba0787dedb95bceb0e915d174afc1

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