diff --git a/xen.spec b/xen.spec index b7b07d7..d920644 100644 --- a/xen.spec +++ b/xen.spec @@ -641,7 +641,7 @@ fi %preun ocaml %if %with_systemd %if %with_systemd_presets -%systemd_post oxenstored.service +%systemd_preun oxenstored.service %else if [ $1 == 0 ]; then /bin/systemctl disable oxenstored.service