mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 15:13:26 +00:00
16 lines
399 B
Desktop File
16 lines
399 B
Desktop File
[Unit]
|
|
Description=clever-show failsafe service
|
|
Requires=roscore.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=pi
|
|
WorkingDirectory=/home/pi/clever-show/drone
|
|
ExecStart=/bin/bash -c ". /home/pi/catkin_ws/devel/setup.sh; \
|
|
ROS_HOSTNAME=`hostname`.local /usr/bin/python3 /home/pi/clever-show/drone/failsafe.py"
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|