blob: 8bde1ff2a437b08d2eafb21fc6a3834ce7d8c926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
[Unit]
Description=Ubiquiti UniFi Server
After=network.target
[Service]
User=unifi
WorkingDirectory=/usr/lib/unifi
ExecStart=/usr/bin/java --add-opens java.base/java.time=ALL-UNNAMED -jar /usr/lib/unifi/lib/ace.jar start
ExecStop=/usr/bin/java -jar /usr/lib/unifi/lib/ace.jar stop
[Install]
WantedBy=multi-user.target
|