diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in index 89fc68ceb3..660775f17a 100644 --- a/src/core/macros.systemd.in +++ b/src/core/macros.systemd.in @@ -42,7 +42,7 @@ if [ $1 -eq 1 ] ; then \ fi \ %{nil} -%systemd_user_post() %{expand:%systemd_post \\--user \\--global %%{?*}} +%systemd_user_post() %{expand:%systemd_post \\--global %%{?*}} %systemd_preun() \ if [ $1 -eq 0 ] ; then \ @@ -54,7 +54,7 @@ fi \ %systemd_user_preun() \ if [ $1 -eq 0 ] ; then \ # Package removal, not upgrade \ - systemctl --no-reload --user --global disable %{?*} > /dev/null 2>&1 || : \ + systemctl --global disable %{?*} > /dev/null 2>&1 || : \ fi \ %{nil}