mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 11:43:25 +00:00
Run clever.service and roscore.service from user pi
This commit is contained in:
@@ -4,6 +4,7 @@ Requires=roscore.service
|
||||
After=roscore.service
|
||||
|
||||
[Service]
|
||||
User=pi
|
||||
EnvironmentFile=/lib/systemd/system/roscore.env
|
||||
ExecStart=/opt/ros/kinetic/bin/roslaunch clever clever.launch --wait
|
||||
Restart=on-abort
|
||||
|
||||
@@ -3,6 +3,7 @@ Description=Launcher for the ROS master, parameter server and rosout logging nod
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=pi
|
||||
EnvironmentFile=/lib/systemd/system/roscore.env
|
||||
ExecStart=/opt/ros/kinetic/bin/roscore
|
||||
Restart=on-abort
|
||||
|
||||
Reference in New Issue
Block a user