Don't use exact path to execute services

This commit is contained in:
Darko Lukic 2018-05-06 22:24:17 +02:00 committed by Darko Lukic
parent 0275e1adf1
commit 665ca3e03a
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
Description=Software for cleaning the local database from time to time, to keep it from exploding
[Service]
ExecStart=/usr/bin/cosmicpi-dbcleaner
ExecStart=/bin/sh -c 'cosmicpi-dbcleaner'
Restart=on-failure
[Install]

View file

@ -2,7 +2,7 @@
Description=Software for connecting to the the CosmicPi detector
[Service]
ExecStart=/usr/bin/cosmicpi-detector
ExecStart=/bin/sh -c 'cosmicpi-detector'
Restart=on-failure
[Install]

View file

@ -2,7 +2,7 @@
Description=Software for sending locally stored events from the CosmicPi to an MQTT srver
[Service]
ExecStart=/usr/bin/cosmicpi-mqtt
ExecStart=/bin/sh -c 'cosmicpi-mqtt'
Restart=on-failure
[Install]

View file

@ -2,7 +2,7 @@
Description=Software for the CosmicPi UI
[Service]
ExecStart=/usr/bin/cosmicpi-ui
ExecStart=/bin/sh -c 'cosmicpi-ui'
Restart=on-failure
[Install]