mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-27 07:13:36 +00:00
18 lines
354 B
SYSTEMD
18 lines
354 B
SYSTEMD
|
[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
|