Modify clever-show service

This commit is contained in:
Arthur Golubtsov
2019-10-21 20:07:04 +03:00
parent afcf880501
commit ecbcde16e8

View File

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