mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-05 20:45:18 +00:00
68d08cf2f2
When the comment in libvirtd.sasl was last updated with
commit fe772f24a6
Author: Cole Robinson <crobinso@redhat.com>
Date: Sat Oct 20 14:10:03 2012 -0400
daemon: Avoid 'Could not find keytab file' in syslog
it was noted that only old versions of kerberos would need the
environment variable to be set: that was more than seven years
ago, so it's safe to assume that none of our current target
platforms still requires that hack and setting the appropriate
key in the configuration file will be enough.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
28 lines
730 B
Plaintext
28 lines
730 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
description="Virtualization daemon proxy"
|
|
|
|
VIRTPROXYD_OPTS=${VIRTPROXYD_OPTS:-"${VIRTPROXYD_OPTS}"}
|
|
VIRTPROXYD_TIMEOUT=${VIRTPROXYD_TERMTIMEOUT:-"TERM/25/KILL/5"}
|
|
|
|
command="@sbindir@/virtproxyd"
|
|
command_args="-d ${VIRTPROXYD_OPTS}"
|
|
pidfile="@runstatedir@/virtproxyd.pid"
|
|
retry="${VIRTPROXYD_TERMTIMEOUT}"
|
|
|
|
extra_started_commands="reload"
|
|
description_reload="re-exec the daemon to enforce configuration reload"
|
|
|
|
depend() {
|
|
use dbus
|
|
after cgconfig corosync ebtables iptables ip6tables nfs nfsmount ntp-client ntpdportmap rpc.statd sanlock xenconsoled
|
|
need net
|
|
}
|
|
|
|
reload() {
|
|
ebegin "re-exec() virtproxyd"
|
|
|
|
start-stop-daemon --signal SIGHUP \
|
|
--exec "${command}" --pidfile "${pidfile}"
|
|
}
|