You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/blinkperl/files/blinkperl.rc

20 lines
454 B

#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting blinkserver"
start-stop-daemon -o --background --quiet --start --exec /usr/bin/blinkserver.pl --pidfile /var/run/blinkserver.pid -- --port=${BLINKPORT}
eend $?
}
stop() {
ebegin "Stopping blinkserver"
start-stop-daemon -o --quiet --stop --name blinkserver.pl
eend $?
}