summaryrefslogtreecommitdiff
path: root/NodeStateManager/config
diff options
context:
space:
mode:
Diffstat (limited to 'NodeStateManager/config')
-rw-r--r--NodeStateManager/config/node-state-manager.pc.in2
-rw-r--r--NodeStateManager/config/nodestatemanager-daemon.service.in8
2 files changed, 7 insertions, 3 deletions
diff --git a/NodeStateManager/config/node-state-manager.pc.in b/NodeStateManager/config/node-state-manager.pc.in
index 480ff5d..11fb8df 100644
--- a/NodeStateManager/config/node-state-manager.pc.in
+++ b/NodeStateManager/config/node-state-manager.pc.in
@@ -4,7 +4,7 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-dbusinterfacesdir=@dbusinterfacesdir@
+dbusinterfacesdir=${pc_sysrootdir}@dbusinterfacesdir@
Name: NodeStateManager (NSM)
Description: Package information for the NHM.
diff --git a/NodeStateManager/config/nodestatemanager-daemon.service.in b/NodeStateManager/config/nodestatemanager-daemon.service.in
index 6842cbd..71fcc3c 100644
--- a/NodeStateManager/config/nodestatemanager-daemon.service.in
+++ b/NodeStateManager/config/nodestatemanager-daemon.service.in
@@ -11,13 +11,17 @@
[Unit]
Description=NodeStateManager to provide system states, session and shutdown handling
-Wants=dbus.service dlt-daemon.service
-After=dbus.service dlt-daemon.service
+Wants=dbus.service dlt-daemon.service pas-daemon.service
+After=dbus.service dlt-daemon.service pas-daemon.service
# Start up very early, because it doesn't need anything to run prior to it:
DefaultDependencies=no
[Service]
+Type=dbus
+WatchdogSec=20
+NotifyAccess=main
+BusName=org.genivi.NodeStateManager
ExecStart=/usr/bin/NodeStateManager
[Install]