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"
17 use ceph dbus iscsid virtlockd
22 ebegin "re-exec() virtsecretd"
24 start-stop-daemon --signal SIGHUP \
25 --exec "${command}" --pidfile "${pidfile}"