summaryrefslogtreecommitdiff
path: root/NodeStateManager/config/nodestatemanager-daemon.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'NodeStateManager/config/nodestatemanager-daemon.service.in')
-rw-r--r--NodeStateManager/config/nodestatemanager-daemon.service.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/NodeStateManager/config/nodestatemanager-daemon.service.in b/NodeStateManager/config/nodestatemanager-daemon.service.in
new file mode 100644
index 0000000..03177bb
--- /dev/null
+++ b/NodeStateManager/config/nodestatemanager-daemon.service.in
@@ -0,0 +1,15 @@
+# This file is for starting the nodestatemanager-daemon as a service with systemd
+
+[Unit]
+Description=NodeStateManager to provide system states, session and shutdown handling
+Wants=dbus.service dlt-daemon.service
+After=dbus.service dlt-daemon.service
+
+# Start up very early, because it doesn't need anything to run prior to it:
+DefaultDependencies=no
+
+[Service]
+ExecStart=/usr/bin/NodeStateManager
+
+[Install]
+WantedBy=basic.target