From fa65b7296d0ae5848486d5a770be6398de6d09e7 Mon Sep 17 00:00:00 2001 From: Jan-Pascal van Best Date: Sat, 23 Jun 2018 16:41:32 +0200 Subject: [PATCH] Systemd unit file fixes --- debian/patches/add-depends-to-systemd-unit-file | 16 ++++++++++++++++ .../add-documentation-to-systemd-unit-file | 15 +++++++++++++++ debian/patches/series | 2 ++ 3 files changed, 33 insertions(+) create mode 100644 debian/patches/add-depends-to-systemd-unit-file create mode 100644 debian/patches/add-documentation-to-systemd-unit-file diff --git a/debian/patches/add-depends-to-systemd-unit-file b/debian/patches/add-depends-to-systemd-unit-file new file mode 100644 index 0000000..1764f96 --- /dev/null +++ b/debian/patches/add-depends-to-systemd-unit-file @@ -0,0 +1,16 @@ +Description: Add Depends field to systemd unit file +Last-Update: 2018-06-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: motioneye-dmo-0.39/extra/motioneye.systemd-unit +=================================================================== +--- motioneye-dmo-0.39.orig/extra/motioneye.systemd-unit 2018-06-04 13:03:29.575556610 +0200 ++++ motioneye-dmo-0.39/extra/motioneye.systemd-unit 2018-06-04 13:04:05.355668363 +0200 +@@ -1,6 +1,7 @@ + [Unit] + Description=motionEye Server + Documentation=https://github.com/ccrisan/motioneye/wiki ++After=network.target remote-fs.target nss-lookup.target + + [Service] + ExecStart=/usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf diff --git a/debian/patches/add-documentation-to-systemd-unit-file b/debian/patches/add-documentation-to-systemd-unit-file new file mode 100644 index 0000000..c0b3627 --- /dev/null +++ b/debian/patches/add-documentation-to-systemd-unit-file @@ -0,0 +1,15 @@ +Description: Add Documentation field to systemd unit file +Last-Update: 2018-06-04 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: motioneye-dmo-0.39/extra/motioneye.systemd-unit +=================================================================== +--- motioneye-dmo-0.39.orig/extra/motioneye.systemd-unit 2018-06-04 12:59:36.134830884 +0200 ++++ motioneye-dmo-0.39/extra/motioneye.systemd-unit 2018-06-04 13:00:53.075070325 +0200 +@@ -1,5 +1,6 @@ + [Unit] + Description=motionEye Server ++Documentation=https://github.com/ccrisan/motioneye/wiki + + [Service] + ExecStart=/usr/bin/meyectl startserver -c /etc/motioneye/motioneye.conf diff --git a/debian/patches/series b/debian/patches/series index ec367da..140f394 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ add_private_log_and_run_dirs +add-documentation-to-systemd-unit-file +add-depends-to-systemd-unit-file -- 2.39.5