mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
* Rework assigning hostname and service files * docs: small fix in hostname article * Correct path to setup.bash in clever.service * docs: correct ip in hostname article * init_rpi: put normal and .local hostname on one line in hosts * docs: add English version of hostname article * clever.service: use sh instead of bash * docs: Spellcheck english version, add note about hostname vs SSID * clever.service: return roscore requirement back
15 lines
356 B
Desktop File
15 lines
356 B
Desktop File
[Unit]
|
|
Description=Clever ROS package
|
|
Requires=roscore.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=pi
|
|
ExecStart=/bin/sh -c ". /home/pi/catkin_ws/devel/setup.sh; \
|
|
ROS_HOSTNAME=`hostname`.local exec roslaunch clever clever.launch --wait --screen --skip-log-check"
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|