From 87b34969072edbb2ed2931ce67dd2efc0b422e4c Mon Sep 17 00:00:00 2001 From: snowdream Date: Sun, 9 Jun 2019 23:20:34 +0800 Subject: [PATCH] Fix: openrc --- conf/openrc/frpc.sh | 4 ++-- conf/openrc/frps.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/openrc/frpc.sh b/conf/openrc/frpc.sh index cf94d9a1..7d2ec954 100755 --- a/conf/openrc/frpc.sh +++ b/conf/openrc/frpc.sh @@ -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 $? } diff --git a/conf/openrc/frps.sh b/conf/openrc/frps.sh index eeb48f5b..d44ab550 100755 --- a/conf/openrc/frps.sh +++ b/conf/openrc/frps.sh @@ -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 $? }