]> www.vanbest.org Git - motioneye-debian/commitdiff
added systemd unit for /usr/local/bin
authorCalin Crisan <ccrisan@gmail.com>
Sun, 30 Aug 2015 19:04:26 +0000 (22:04 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sun, 30 Aug 2015 19:04:26 +0000 (22:04 +0300)
extra/motioneye.systemd-unit
extra/motioneye.systemd-unit-local [new file with mode: 0644]

index 3456142a271846350c01745b831efebf532e6840..e4e2860360a9813db322d5c3518e55dcf84b5642 100644 (file)
@@ -2,7 +2,7 @@
 Description=motionEye Server
 
 [Service]
-ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
+ExecStart=/usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
 Restart=on-abort
 
 [Install]
diff --git a/extra/motioneye.systemd-unit-local b/extra/motioneye.systemd-unit-local
new file mode 100644 (file)
index 0000000..3456142
--- /dev/null
@@ -0,0 +1,9 @@
+[Unit]
+Description=motionEye Server
+
+[Service]
+ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target