Created
July 25, 2016 01:31
-
-
Save CodeMichael/60b6a318c5a9762f8ecf2bca34fdf85a to your computer and use it in GitHub Desktop.
systemd service file for unifi controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Systemd unit file for unifi | |
# | |
[Unit] | |
Description=UniFi Wireless AP Control System | |
[Service] | |
Type=simple | |
User=unifi | |
ExecStart=/usr/bin/java -jar /opt/UniFi/lib/ace.jar start | |
ExecStop=/usr/bin/java -jar /opt/UniFi/lib/ace.jar stop | |
SuccessStartStatus=0 | |
SuccessExitStatus=255 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment