mirror of
https://github.com/miky-kr5/Robotd.git
synced 2023-01-29 18:47:06 +00:00
Now starts properly at boot with the Galileo's systemd.
This commit is contained in:
12
robot.service
Normal file
12
robot.service
Normal file
@@ -0,0 +1,12 @@
|
||||
#! /bin/sh
|
||||
[Unit]
|
||||
Description=Robot daemon
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/robot.pid
|
||||
WorkingDirectory=/home/root/Robotd
|
||||
ExecStart=/etc/init.d/robot start
|
||||
ExecReload=/etc/init.d/robot restart
|
||||
ExecStop=/etc/init.d/robot stop
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user