snac.service 354 B

1234567891011121314151617
  1. [Unit]
  2. Description=snac daemon
  3. [Service]
  4. Type=simple
  5. Restart=always
  6. RestartSec=5
  7. ExecStart=/usr/local/bin/snac httpd /PATH/TO/SNAC/BASEDIR
  8. [Install]
  9. WantedBy=default.target
  10. # This is a systemd user service example. Edit and run:
  11. #
  12. # cp snac.service ~/.config/systemd/user/
  13. # systemctl --user enable snac.service
  14. # systemctl --user start snac.service