Skip to content

Instantly share code, notes, and snippets.

@schinken
Created December 9, 2015 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schinken/277f3f23edbccc19e60c to your computer and use it in GitHub Desktop.
Save schinken/277f3f23edbccc19e60c to your computer and use it in GitHub Desktop.
[Unit]
Description=unifi
After=local-fs.target remote-fs.target network-online.target
Wants=network-online.target
Conflicts=shutdown.target
[Service]
Type=forking
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
RemainAfterExit=yes
ExecStart=/usr/lib/unifi/bin/unifi.init start
ExecStop=/usr/lib/unifi/bin/unifi.init stop
ExecReload=/usr/lib/unifi/bin/unifi.init reload
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment