node_device_udev: add error reporting to udevProcessCCWGroup
[libvirt.git] / src / secret / virtsecretd.init.in
blob6deecae8cbe04c1949d5655f48da375dfb90bca9
1 #!/sbin/openrc-run
3 description="Virtualization secret daemon"
5 VIRTSECRETD_OPTS=${VIRTSECRETD_OPTS:-"${VIRTSECRETD_OPTS}"}
6 VIRTSECRETD_TIMEOUT=${VIRTSECRETD_TERMTIMEOUT:-"TERM/25/KILL/5"}
8 command="@sbindir@/virtsecretd"
9 command_args="-d ${VIRTSECRETD_OPTS}"
10 pidfile="@runstatedir@/virtsecretd.pid"
11 retry="${VIRTSECRETD_TERMTIMEOUT}"
13 extra_started_commands="reload"
14 description_reload="re-exec the daemon to enforce configuration reload"
16 depend() {
17     use ceph dbus iscsid virtlockd
18     after nfs nfsmount
21 reload() {
22     ebegin "re-exec() virtsecretd"
24     start-stop-daemon --signal SIGHUP \
25       --exec "${command}" --pidfile "${pidfile}"