mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-12 02:54:39 +02:00
21 lines
394 B
Bash
21 lines
394 B
Bash
#!/sbin/openrc-run
|
|
supervisor=supervise-daemon
|
|
|
|
: ${cfgfile:=/etc/oidentd.conf}
|
|
|
|
command=/usr/sbin/oidentd
|
|
command_args="-u oidentd -g oidentd $opts"
|
|
command_args_foreground="--foreground"
|
|
required_files="$cfgfile"
|
|
extra_started_commands="reload"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading $RC_SVCNAME configuration"
|
|
$supervisor $RC_SVCNAME --signal HUP
|
|
eend $?
|
|
}
|