summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-13 18:23:01 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-13 18:23:01 +0200
commit34e9ba669e75fb3b8f481076e75df5c2abb8192b (patch)
tree50027c6f4abe34d67d7309c4d6009131701dee88 /man/systemd.service.xml
parent00b07cb3f3e26511f0627af686aa18652e780177 (diff)
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not long lasting and there's not necessarily a single clean main process for them. This change allows multiple ExecStart= lines for this type of services so that the admin/developer doesn't have to arbitrarily pick on of various sequential commands as the "main one".
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 94a21d3fe..70c1d1e5f 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -119,7 +119,7 @@
start-up type for this service
unit. One of <option>simple</option>,
<option>forking</option>,
- <option>finish</option>,
+ <option>oneshot</option>,
<option>dbus</option>,
<option>notify</option>.</para>
@@ -158,7 +158,7 @@
exits.</para>
<para>Behaviour of
- <option>finish</option> is similar
+ <option>oneshot</option> is similar
to <option>simple</option>, however
it is expected that the process has to
exit before systemd starts follow-up