From 2d213d143fc9ef5a228259c8f86a8e6deb8cc111 Mon Sep 17 00:00:00 2001 From: Robin Burchell Date: Tue, 8 Oct 2013 20:12:50 +0000 Subject: [PATCH] [sensord] Always restart. We never want to not be running. If someone wants to stop sensord, they can stop the service through systemctl, the same as other system daemons. --- rpm/sensord.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/sensord.service b/rpm/sensord.service index 0c5d1d23..ac0440f9 100644 --- a/rpm/sensord.service +++ b/rpm/sensord.service @@ -9,6 +9,8 @@ Type=forking ExecStartPre=/bin/sh /usr/bin/sensord-daemon-conf-setup ExecStart=/usr/sbin/sensord -c=/etc/sensorfw/primaryuse.conf -d --log-level=warning ExecReload=/bin/kill -HUP $MAINPID +Restart=always +RestartSec=1 [Install] WantedBy=basic.target