summaryrefslogtreecommitdiff
path: root/NodeStateManager/config/nodestatemanager-daemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'NodeStateManager/config/nodestatemanager-daemon.service')
-rw-r--r--NodeStateManager/config/nodestatemanager-daemon.service28
1 files changed, 28 insertions, 0 deletions
diff --git a/NodeStateManager/config/nodestatemanager-daemon.service b/NodeStateManager/config/nodestatemanager-daemon.service
new file mode 100644
index 0000000..0afe609
--- /dev/null
+++ b/NodeStateManager/config/nodestatemanager-daemon.service
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2012 Continental Automotive Systems, Inc.
+#
+# Author: Jean-Pierre.Bogler@continental-corporation.com
+#
+# This file is for starting the nodestatemanager-daemon as a service with systemd
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+[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]
+Type=simple
+WatchdogSec=20
+# NotifyAccess=main
+# BusName=org.genivi.NodeStateManager
+ExecStart=/usr/local/bin/NodeStateManager
+
+[Install]
+WantedBy=basic.target