summaryrefslogtreecommitdiff
path: root/man/daemon.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/daemon.xml')
-rw-r--r--man/daemon.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/daemon.xml b/man/daemon.xml
index dfee390164..b708bdcfba 100644
--- a/man/daemon.xml
+++ b/man/daemon.xml
@@ -793,11 +793,11 @@ endif</programlisting>
package managers:</para>
<programlisting>%post
-/usr/bin/systemd-install --start enable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
+/usr/bin/systemd-install --realize enable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
%preun
if [ "$1" -eq 0 ]; then
- /usr/bin/systemd-install --start disable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
+ /usr/bin/systemd-install --realize disable foobar.service foobar.socket >/dev/null 2>&amp;1 || :
fi</programlisting>
</refsect2>