diff options
Diffstat (limited to 'net-misc/stargazer/files/sgauth')
-rw-r--r-- | net-misc/stargazer/files/sgauth | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net-misc/stargazer/files/sgauth b/net-misc/stargazer/files/sgauth deleted file mode 100644 index 0dec60bfa1af..000000000000 --- a/net-misc/stargazer/files/sgauth +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run - -DAEMON=/usr/sbin/sgauth -SGAUTH_OPTS="/etc/stargazer/sgauth.conf" -PIDFILE="/run/sgauth.pid" - -depend() { - need net - provide sgauth -} - -start() { - ebegin "Starting sgauth" - start-stop-daemon --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- ${SGAUTH_OPTS} - eend $? -} - -start_post() { - pgrep -n $RC_SVCNAME > ${PIDFILE} -} - -stop() { - ebegin "Stopping sgauth" - start-stop-daemon --stop --quiet --pidfile ${PIDFILE} - rm -f ${PIDFILE} - eend $? -}
\ No newline at end of file |