summaryrefslogtreecommitdiff
path: root/community/libvirt/libvirt.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvirt/libvirt.install')
-rw-r--r--community/libvirt/libvirt.install10
1 files changed, 5 insertions, 5 deletions
diff --git a/community/libvirt/libvirt.install b/community/libvirt/libvirt.install
index 3881386d2..32c28d559 100644
--- a/community/libvirt/libvirt.install
+++ b/community/libvirt/libvirt.install
@@ -1,4 +1,5 @@
_libvirt_setup() {
+ systemd-tmpfiles --create libvirt.conf
rm -f /usr/lib/python?.?/site-packages/libvirt.pyc
echo ">>> To use libvirt as a non-root user:"
echo ">>> Use polkit to grant access."
@@ -16,16 +17,16 @@ post_install() {
echo ">>> Add 'libvirtd' to daemons in /etc/rc.conf if you want it to load upon"
echo ">>> booting."
echo ""
- /bin/true
}
post_upgrade() {
_libvirt_setup || return 1
- echo ">>> To finish the upgrade, restart libvirtd by running the command:"
- echo ">>> '/etc/rc.d/libvirtd restart' as root or rebooting."
+ echo ">>> To finish the upgrade, restart libvirtd by:"
+ echo ">>> 'systemctl restart libvirtd' as root (systemd) or"
+ echo ">>> '/etc/rc.d/libvirtd restart' as root (initscripts) or"
+ echo ">>> rebooting."
echo ">>> You may also need to run 'rm -rf ~/.libvirt'"
echo ""
- /bin/true
}
post_remove() {
@@ -34,5 +35,4 @@ post_remove() {
echo ">>> It can be removed by running 'groupdel libvirt' as root."
echo ""
depmod -a
- /bin/true
}