summaryrefslogtreecommitdiff
path: root/examples/snac.service
diff options
context:
space:
mode:
Diffstat (limited to 'examples/snac.service')
-rw-r--r--examples/snac.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/snac.service b/examples/snac.service
new file mode 100644
index 0000000..399c1f8
--- /dev/null
+++ b/examples/snac.service
@@ -0,0 +1,17 @@
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