Don't use exact path to execute services
This commit is contained in:
parent
0275e1adf1
commit
665ca3e03a
4 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Software for cleaning the local database from time to time, to keep it from exploding
|
Description=Software for cleaning the local database from time to time, to keep it from exploding
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/cosmicpi-dbcleaner
|
ExecStart=/bin/sh -c 'cosmicpi-dbcleaner'
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Software for connecting to the the CosmicPi detector
|
Description=Software for connecting to the the CosmicPi detector
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/cosmicpi-detector
|
ExecStart=/bin/sh -c 'cosmicpi-detector'
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Software for sending locally stored events from the CosmicPi to an MQTT srver
|
Description=Software for sending locally stored events from the CosmicPi to an MQTT srver
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/cosmicpi-mqtt
|
ExecStart=/bin/sh -c 'cosmicpi-mqtt'
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Software for the CosmicPi UI
|
Description=Software for the CosmicPi UI
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/cosmicpi-ui
|
ExecStart=/bin/sh -c 'cosmicpi-ui'
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue