Fix: openrc

This commit is contained in:
snowdream 2019-06-09 23:20:34 +08:00
parent 0f46814312
commit 87b3496907
2 changed files with 4 additions and 4 deletions

View File

@ -15,9 +15,9 @@ depend() {
start() {
ebegin "Starting frpc"
start-stop-daemon --start --background \
--make-pidfile --pidfile $pidfile \
--exec $command \
-- $command_opts \
--make-pidfile --pidfile $pidfile
-- $command_opts
eend $?
}

View File

@ -15,9 +15,9 @@ depend() {
start() {
ebegin "Starting frps"
start-stop-daemon --start --background \
--make-pidfile --pidfile $pidfile \
--exec $command \
-- $command_opts \
--make-pidfile --pidfile $pidfile
-- $command_opts
eend $?
}