summaryrefslogtreecommitdiff
path: root/community/libvirt/libvirt.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-03 01:15:19 -0700
committerroot <root@rshg054.dnsready.net>2012-11-03 01:15:19 -0700
commite3f70522f1f35359d9307f478c96dace20a51ca1 (patch)
tree9db033a74cb298a1443b87e279b7549f35288789 /community/libvirt/libvirt.install
parent35bd2bb6857eb818ca53b8fe34d88106133342f4 (diff)
Sat Nov 3 01:13:31 PDT 2012
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
}