aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-31 01:31:02 +0100
committerSam James <sam@gentoo.org>2023-05-31 01:31:02 +0100
commit0ed6d9a3bdc9ac25764d908c9dc90aa6ca48ff5e (patch)
tree0dbf7c57bbf546fe5c6d53c044337c06e7cb3f55 /app-emulation/libvirt/files/libvirtd.init-r19
parentsys-devel/gdb: use app-alternatives/yacc (diff)
downloadmusl-0ed6d9a3bdc9ac25764d908c9dc90aa6ca48ff5e.tar.gz
musl-0ed6d9a3bdc9ac25764d908c9dc90aa6ca48ff5e.tar.bz2
musl-0ed6d9a3bdc9ac25764d908c9dc90aa6ca48ff5e.zip
app-emulation/libvirt: treeclean
::gentoo should be OK now. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation/libvirt/files/libvirtd.init-r19')
-rw-r--r--app-emulation/libvirt/files/libvirtd.init-r1933
1 files changed, 0 insertions, 33 deletions
diff --git a/app-emulation/libvirt/files/libvirtd.init-r19 b/app-emulation/libvirt/files/libvirtd.init-r19
deleted file mode 100644
index ee3a6515..00000000
--- a/app-emulation/libvirt/files/libvirtd.init-r19
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-description="Virtual Machine Management daemon (libvirt)"
-
-LIBVIRTD_OPTS=${LIBVIRTD_OPTS:-"${LIBVIRTD_OPTS}"}
-LIBVIRTD_TIMEOUT=${LIBVIRTD_TERMTIMEOUT:-"TERM/25/KILL/5"}
-
-command="/usr/sbin/libvirtd"
-command_args="${LIBVIRTD_OPTS}"
-start_stop_daemon_args="-b --env KRB5_KTNAME=/etc/libvirt/krb5.tab"
-pidfile="/run/libvirtd.pid"
-retry="${LIBVIRTD_TERMTIMEOUT}"
-
-depend() {
- need virtlogd
- use ceph dbus iscsid virtlockd
- after cgconfig corosync ebtables iptables ip6tables nfs nfsmount ntp-client ntpdportmap rpc.statd sanlock xenconsoled
- USE_FLAG_FIREWALLD
-}
-
-start_pre() {
- # Test configuration directories in /etc/libvirt/ to be either not
- # present or a directory, i.e. not a regular file, bug #532892
-
- checkpath --directory /etc/libvirt/lxc || return 1
- checkpath --directory /etc/libvirt/nwfilter || return 1
- [ -L /etc/libvirt/qemu ] ||
- checkpath --directory /etc/libvirt/qemu || return 1
- [ -L /etc/libvirt/storage ] ||
- checkpath --directory /etc/libvirt/storage || return 1
-}