blob: 08d0117650e83aa7a3cefd82c96a3d8f5c831736 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/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 $?
}
|