summaryrefslogtreecommitdiff
path: root/NodeStateManager/config
diff options
context:
space:
mode:
Diffstat (limited to 'NodeStateManager/config')
-rw-r--r--NodeStateManager/config/node-state-manager.pc.in13
-rw-r--r--NodeStateManager/config/nodestatemanager-daemon.service (renamed from NodeStateManager/config/nodestatemanager-daemon.service.in)12
-rw-r--r--NodeStateManager/config/org.genivi.NodeStateManager.LifeCycleControl.service.in4
-rw-r--r--NodeStateManager/config/org.genivi.NodeStateManager.conf21
4 files changed, 6 insertions, 44 deletions
diff --git a/NodeStateManager/config/node-state-manager.pc.in b/NodeStateManager/config/node-state-manager.pc.in
deleted file mode 100644
index 11fb8df..0000000
--- a/NodeStateManager/config/node-state-manager.pc.in
+++ /dev/null
@@ -1,13 +0,0 @@
-# Package config file for NodeStateManager
-
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
-dbusinterfacesdir=${pc_sysrootdir}@dbusinterfacesdir@
-
-Name: NodeStateManager (NSM)
-Description: Package information for the NHM.
-URL: http://www.genivi.org
-Version: @VERSION@
-Cflags: -I${includedir}
diff --git a/NodeStateManager/config/nodestatemanager-daemon.service.in b/NodeStateManager/config/nodestatemanager-daemon.service
index 71fcc3c..0afe609 100644
--- a/NodeStateManager/config/nodestatemanager-daemon.service.in
+++ b/NodeStateManager/config/nodestatemanager-daemon.service
@@ -11,18 +11,18 @@
[Unit]
Description=NodeStateManager to provide system states, session and shutdown handling
-Wants=dbus.service dlt-daemon.service pas-daemon.service
-After=dbus.service dlt-daemon.service pas-daemon.service
+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=dbus
+Type=simple
WatchdogSec=20
-NotifyAccess=main
-BusName=org.genivi.NodeStateManager
-ExecStart=/usr/bin/NodeStateManager
+# NotifyAccess=main
+# BusName=org.genivi.NodeStateManager
+ExecStart=/usr/local/bin/NodeStateManager
[Install]
WantedBy=basic.target
diff --git a/NodeStateManager/config/org.genivi.NodeStateManager.LifeCycleControl.service.in b/NodeStateManager/config/org.genivi.NodeStateManager.LifeCycleControl.service.in
deleted file mode 100644
index f6e3d8a..0000000
--- a/NodeStateManager/config/org.genivi.NodeStateManager.LifeCycleControl.service.in
+++ /dev/null
@@ -1,4 +0,0 @@
-[D-BUS Service]
-Name=org.genivi.NodeStateManager
-SystemdService = nodestatemanager-daemon.service
-Exec=/bin/false
diff --git a/NodeStateManager/config/org.genivi.NodeStateManager.conf b/NodeStateManager/config/org.genivi.NodeStateManager.conf
deleted file mode 100644
index 74b188e..0000000
--- a/NodeStateManager/config/org.genivi.NodeStateManager.conf
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
-<!DOCTYPE busconfig PUBLIC
- "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-<busconfig>
-
- <!-- Only root can own the service -->
- <policy user="root">
- <allow own="org.genivi.NodeStateManager"/>
- </policy>
-
- <policy at_console="true">
- <allow send_destination="org.genivi.NodeStateManager"/>
- <allow send_interface="org.genivi.NodeStateManager.LifeCycleConsumer"/>
- </policy>
-
- <policy context="default">
- <allow send_destination="org.genivi.NodeStateManager"/>
- <allow send_interface="org.genivi.NodeStateManager.LifeCycleConsumer"/>
- </policy>
-</busconfig>