From 34e9ba669e75fb3b8f481076e75df5c2abb8192b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 13 Aug 2010 18:23:01 +0200 Subject: 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". --- units/systemd-update-utmp-runlevel.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'units/systemd-update-utmp-runlevel.service.in') diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in index 9b7677f3a1..90bb9379e0 100644 --- a/units/systemd-update-utmp-runlevel.service.in +++ b/units/systemd-update-utmp-runlevel.service.in @@ -11,5 +11,5 @@ DefaultDependencies=no After=runlevel1.target runlevel2.target runlevel3.target runlevel4.target runlevel5.target auditd.service [Service] -Type=finish +Type=oneshot ExecStart=-@rootlibexecdir@/systemd-update-utmp runlevel -- cgit v1.2.3-54-g00ecf