1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=UniFi Controller Requires=network.target After=network.target [Service] ExecStart=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar start ExecStop=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar stop User=unifi Group=unifi WorkingDirectory=/usr/lib/unifi [Install] WantedBy=network.target