]> git.pld-linux.org Git - packages/xen.git/commitdiff
Revert "xenstored must not be ever stopped"
authorJacek Konieczny <jajcus@jajcus.net>
Fri, 9 Nov 2012 15:19:57 +0000 (16:19 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Fri, 9 Nov 2012 15:19:57 +0000 (16:19 +0100)
This reverts commit faf14bb1c6f83c19d13410d98bd267299f1b17a9.

(my mistake, the 'RefuseManualStop=true' in the service file is enough
to ensure xenstored is never stopped)

xen.spec

index e171083c00a44cbfbeaffc8040e6a97466bed549..c0cf753f2c2d51998128f96cbcb5420c536eb4f5 100644 (file)
--- a/xen.spec
+++ b/xen.spec
@@ -483,13 +483,7 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add xenconsoled
 /sbin/chkconfig --add xenstored
 /sbin/chkconfig --add xendomains
-%systemd_post xen-watchdog.service xenconsoled.service
-
-export NORESTART=1
-%systemd_post xenstored.service
-if [ $1 -ne 1 ] ; then
-       /bin/systemd_booted && echo "xenstored.service must not be restarted, ever!" || :
-fi
+%systemd_post xen-watchdog.service xenconsoled.service xenstored.service
 
 %preun
 if [ "$1" = "0" ]; then
This page took 0.073648 seconds and 4 git commands to generate.