create_ap/create_ap.openrc

12 lines
225 B
Plaintext

#!/sbin/openrc-run
name=$RC_SVCNAME
cfgfile=/etc/$RC_SVCNAME.conf
pidfile=/run/$RC_SVCNAME.pid
command=/usr/bin/create_ap
command_args="--config $cfgfile"
command_args_background="--daemon --pidfile $pidfile"
stopsig=USR1