From: Calin Crisan Date: Sun, 30 Aug 2015 19:04:26 +0000 (+0300) Subject: added systemd unit for /usr/local/bin X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=91e7727368a8a3fea040c66726f960998e07c323;p=motioneye-debian added systemd unit for /usr/local/bin --- diff --git a/extra/motioneye.systemd-unit b/extra/motioneye.systemd-unit index 3456142..e4e2860 100644 --- a/extra/motioneye.systemd-unit +++ b/extra/motioneye.systemd-unit @@ -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 index 0000000..3456142 --- /dev/null +++ b/extra/motioneye.systemd-unit-local @@ -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