summarylogtreecommitdiffstats
path: root/unifi.service
blob: 2b596e9ef4cc71d100b63f2f63a6bb2e321bbc36 (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 -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