From 91e7727368a8a3fea040c66726f960998e07c323 Mon Sep 17 00:00:00 2001 From: Calin Crisan Date: Sun, 30 Aug 2015 22:04:26 +0300 Subject: [PATCH] added systemd unit for /usr/local/bin --- extra/motioneye.systemd-unit | 2 +- extra/motioneye.systemd-unit-local | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 extra/motioneye.systemd-unit-local 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 -- 2.39.5