diff options
Diffstat (limited to 'net-wireless/unifi/files/unifi.service')
-rw-r--r-- | net-wireless/unifi/files/unifi.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-wireless/unifi/files/unifi.service b/net-wireless/unifi/files/unifi.service new file mode 100644 index 000000000000..11385a0e913b --- /dev/null +++ b/net-wireless/unifi/files/unifi.service @@ -0,0 +1,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 |