mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
[examples/nac.service] new file.
This commit is contained in:
parent
66a9f8d13a
commit
ebb6b105fc
1 changed files with 17 additions and 0 deletions
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 a new issue