Skip to content

Commit

Permalink
[sensord] Always restart.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rburchell committed Oct 8, 2013
1 parent c8fafda commit 2d213d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/sensord.service
Expand Up @@ -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
Expand Down

0 comments on commit 2d213d1

Please sign in to comment.