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
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/cosmicpi-dbcleaner
|
||||
ExecStart=/bin/sh -c 'cosmicpi-dbcleaner'
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue