Skip to main content
1 of 2
Yang
  • 161
  • 3

Adding startup items in systemd is complex and cumbersome.
add_service provide a simple way to quickly add startup item in systemd.

Install:
    pip install add_service

Usage:
    python -m add_service [shell_file/cmd] [user (default `whoami`)]

Examples:
    python -m add_service ssh_nat.sh  # user by default is `whoami`
    python -m add_service "`which python3` -m http.server 80" root
Yang
  • 161
  • 3