[elbe-devel] [v2 1/6] updated: debian: added elbe-updated service file for systemd

Kurt Kanzenbach kurt at linutronix.de
Wed Mar 22 18:23:48 CET 2017


Signed-off-by: Kurt Kanzenbach <kurt at linutronix.de>
---
 debian/elbe-updated.default |  3 +++
 debian/elbe-updated.service | 10 ++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 debian/elbe-updated.default
 create mode 100644 debian/elbe-updated.service

diff --git a/debian/elbe-updated.default b/debian/elbe-updated.default
new file mode 100644
index 0000000..858ee85
--- /dev/null
+++ b/debian/elbe-updated.default
@@ -0,0 +1,3 @@
+# elbe updated configuration
+
+DAEMON_ARGS="updated"
diff --git a/debian/elbe-updated.service b/debian/elbe-updated.service
new file mode 100644
index 0000000..4520d72
--- /dev/null
+++ b/debian/elbe-updated.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=ELBE Update Daemon
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/default/elbe-updated
+ExecStart=/usr/bin/elbe $DAEMON_ARGS
+
+[Install]
+WantedBy=multi-user.target
-- 
2.1.4





More information about the elbe-devel mailing list