commit ebb6b105fc4a20ad354b6902d1b486e751dfa3df parent 66a9f8d13a53aed8f7d9b81033faa1774127705e Author: default <nobody@localhost> Date: Tue, 4 Oct 2022 11:13:21 +0200 [examples/nac.service] new file. Diffstat:
A | examples/snac.service | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/examples/snac.service b/examples/snac.service @@ -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