]> www.vanbest.org Git - motioneye-debian/commitdiff
Systemd unit file fixes
authorJan-Pascal van Best <janpascal@vanbest.org>
Sat, 23 Jun 2018 14:41:32 +0000 (16:41 +0200)
committerJan-Pascal van Best <janpascal@vanbest.org>
Sat, 23 Jun 2018 14:41:32 +0000 (16:41 +0200)
debian/patches/add-depends-to-systemd-unit-file [new file with mode: 0644]
debian/patches/add-documentation-to-systemd-unit-file [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/add-depends-to-systemd-unit-file b/debian/patches/add-depends-to-systemd-unit-file
new file mode 100644 (file)
index 0000000..1764f96
--- /dev/null
@@ -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 (file)
index 0000000..c0b3627
--- /dev/null
@@ -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
index ec367da72090c099b2517aa6bbb3096b97c1e681..140f39438d257ce51c2fda5c1624b2c63238c42a 100644 (file)
@@ -1 +1,3 @@
 add_private_log_and_run_dirs
+add-documentation-to-systemd-unit-file
+add-depends-to-systemd-unit-file