summaryrefslogtreecommitdiff
path: root/NodeStateManager/config/nodestatemanager-daemon.service
diff options
context:
space:
mode:
authorMonika Forstner <Monika_Forstner@mentor.com>2020-09-16 10:20:03 +0200
committerMonika Forstner <Monika_Forstner@mentor.com>2020-09-16 10:50:27 +0200
commit2fb502b4bc23aa13fee1db3395b3cae5e34cc871 (patch)
treed9cd2c64522f190500dc53291b4fbcf5100b9720 /NodeStateManager/config/nodestatemanager-daemon.service
parent253d10aada6bf5cdfe307aaff55363f08194c85e (diff)
downloadnode-state-manager-release_NSM_CommonAPI.tar.gz
NSM Release 3.0release_NSM_CommonAPI
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