blob: 4f804f42d794a4436345007644a4946927284173 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/openrc-run
description="Virtualization logging daemon"
VIRTLOGD_OPTS=${VIRTLOGD_OPTS:-"${VIRTLOGD_OPTS}"}
command="@sbindir@/virtlogd"
command_args="${VIRTLOGD_OPTS}"
supervisor="supervise-daemon"
extra_started_commands="reload"
description_reload="re-exec the daemon to enforce configuration reload"
depend() {
keyword -shutdown
after nfs nfsmount
}
reload() {
ebegin "re-exec() virtlogd"
${supervisor} ${RC_SVCNAME} --signal HUP
eend $?
}
|