builder: Update clever-show service

This commit is contained in:
Arthur Golubtsov
2020-06-08 13:11:15 +03:00
parent 1058c8d1fb
commit 9b7b0c5e4a

View File

@@ -1,12 +1,12 @@
[Unit]
Description=Clever Show Client Service
Description=clever-show client service
Requires=roscore.service
After=clever.service
After=clover.service
[Service]
WorkingDirectory=/home/pi/clever-show/Drone
ExecStart=/bin/bash -c ". /home/pi/catkin_ws/devel/setup.sh; \
ROS_HOSTNAME=`hostname`.local /usr/bin/python /home/pi/clever-show/Drone/copter_client.py"
ROS_HOSTNAME=`hostname`.local /usr/bin/python /home/pi/clever-show/Drone/client.py"
KillSignal=SIGKILL
Restart=on-failure
RestartSec=3