summaryrefslogtreecommitdiff
path: root/man/daemon.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-08 21:34:51 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-08 21:39:01 +0200
commitb4f10a5e8956d26f0bc6b9aef12846b57caee08b (patch)
tree48af50f3539c90a2877a33c731a4ef73be831fae /man/daemon.xml
parentbc8c2f5c549084df93c061b061f1e5b0d9d7046c (diff)
install: various improvements
Rename --start to --realize, to make things less confusing when doing "systemctl stop --realize foo.service". Introduce --realize=reload. Don't talk to systemd when run within a chroot, or when systemd isn't running.
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>