diff options
Diffstat (limited to 'dev-ros/roslaunch/files/roscore.initd')
-rw-r--r-- | dev-ros/roslaunch/files/roscore.initd | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dev-ros/roslaunch/files/roscore.initd b/dev-ros/roslaunch/files/roscore.initd deleted file mode 100644 index d05c3fe98a76..000000000000 --- a/dev-ros/roslaunch/files/roscore.initd +++ /dev/null @@ -1,24 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -depend() { - after net -} - -start() { - ebegin "Starting ROS server roscore" - start-stop-daemon --start \ - --user ros --group ros \ - -m --pidfile /var/run/roscore.pid \ - --exec "/usr/bin/roscore" --background - eend $? "Failed to start roscore" -} - -stop() { - ebegin "Stopping roscore" - start-stop-daemon --stop \ - --pidfile /var/run/roscore.pid \ - --exec "/usr/bin/roscore" - eend $? "Failed to stop roscore" -} |