mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-22 06:01:26 +02:00
19 lines
376 B
Plaintext
19 lines
376 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
pidfile="/var/run/accel-pppd.pid"
|
|
command="/usr/sbin/$SVCNAME"
|
|
command_args="${ACCEL_PPPD_OPTS:--c /etc/accel-ppp.conf -p $pidfile}"
|
|
command_background=1
|
|
extra_started_commands="reload"
|
|
|
|
depend() {
|
|
need net logger
|
|
use dns
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading ${RC_SVCNAME}"
|
|
start-stop-daemon --signal USR1 --pidfile "${pidfile}"
|
|
eend $?
|
|
}
|