snac2/examples/snac.service

18 lines
354 B
SYSTEMD
Raw Normal View History

2022-10-04 09:13:21 +00:00
[Unit]
Description=snac daemon
[Service]
Type=simple
Restart=always
RestartSec=5
ExecStart=/usr/local/bin/snac httpd /PATH/TO/SNAC/BASEDIR
[Install]
WantedBy=default.target
# This is a systemd user service example. Edit and run:
#
# cp snac.service ~/.config/systemd/user/
# systemctl --user enable snac.service
# systemctl --user start snac.service