mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-24 14:05:05 +00:00
17 lines
354 B
Desktop File
17 lines
354 B
Desktop File
[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
|