builder: Fix working directory and services directory

This commit is contained in:
Arthur Golubtsov
2020-06-08 21:45:20 +03:00
parent 2f39775d3a
commit 2c82971287
2 changed files with 4 additions and 4 deletions

View File

@@ -4,9 +4,9 @@ Requires=roscore.service
After=clover.service
[Service]
WorkingDirectory=/home/pi/clever-show/Drone
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/client.py"
ROS_HOSTNAME=`hostname`.local /usr/bin/python /home/pi/clever-show/drone/client.py"
KillSignal=SIGKILL
Restart=on-failure
RestartSec=3

View File

@@ -5,9 +5,9 @@ After=network.target
[Service]
User=pi
WorkingDirectory=/home/pi/clever-show/Drone
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/failsafe.py"
ROS_HOSTNAME=`hostname`.local /usr/bin/python /home/pi/clever-show/drone/failsafe.py"
Restart=on-failure
RestartSec=3