diff options
Diffstat (limited to 'unifi-video.service')
-rw-r--r-- | unifi-video.service | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/unifi-video.service b/unifi-video.service index b760d24e2693..63b656e52806 100644 --- a/unifi-video.service +++ b/unifi-video.service @@ -3,11 +3,12 @@ Description=Ubiquiti UniFi Video Server After=network.target [Service] +Type=forking WorkingDirectory=/usr/lib/unifi-video TimeoutStartSec=300 TimeoutStopSec=300 -ExecStart=/usr/bin/unifi-video --verbose --nodetach start -ExecStop=/usr/bin/unifi-video --verbose --nodetach stop +ExecStart=/usr/bin/unifi-video --verbose start +ExecStop=/usr/bin/unifi-video --verbose stop [Install] WantedBy=multi-user.target |