2.71 v/snac0 / examples / snac.service
 1[Unit]
 2Description=snac daemon
 3
 4[Service]
 5Type=simple
 6Restart=always
 7RestartSec=5
 8ExecStart=/usr/local/bin/snac httpd /PATH/TO/SNAC/BASEDIR
 9
10[Install]
11WantedBy=default.target
12
13# This is a systemd user service example. Edit and run:
14# 
15# cp snac.service ~/.config/systemd/user/
16# systemctl --user enable snac.service
17# systemctl --user start snac.service