mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 11:40:27 +03:00
[examples/nac.service] new file.
This commit is contained in:
parent
66a9f8d13a
commit
ebb6b105fc
17
examples/snac.service
Normal file
17
examples/snac.service
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[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
|
Loading…
Reference in New Issue
Block a user