From ebb6b105fc4a20ad354b6902d1b486e751dfa3df Mon Sep 17 00:00:00 2001 From: default Date: Tue, 4 Oct 2022 11:13:21 +0200 Subject: [PATCH] [examples/nac.service] new file. --- examples/snac.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/snac.service 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 @@ +[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