diff options
author | default <nobody@localhost> | 2022-10-04 11:13:21 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-04 11:13:21 +0200 |
commit | ebb6b105fc4a20ad354b6902d1b486e751dfa3df (patch) | |
tree | fbacd3580df34698c00e038ed4eb31ff085704eb /examples/snac.service | |
parent | 66a9f8d13a53aed8f7d9b81033faa1774127705e (diff) |
[examples/nac.service] new file.
Diffstat (limited to 'examples/snac.service')
-rw-r--r-- | examples/snac.service | 17 |
1 files changed, 17 insertions, 0 deletions
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 |