From: Tollef Fog Heen Date: Sat, 28 Aug 2010 18:27:39 +0000 (+0200) Subject: Update to -8 syntax X-Git-Tag: 8-2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f86a0b62b83ee2ac4317a2856d4f2ce25b08ea7b;p=systemd Update to -8 syntax --- diff --git a/units/debian/halt.service b/units/debian/halt.service index 17c2b21d..c539ec26 100644 --- a/units/debian/halt.service +++ b/units/debian/halt.service @@ -22,8 +22,8 @@ Requires=shutdown.target killall.service After=shutdown.target killall.service [Service] -Type=finish -ValidNoProcess=yes +Type=oneshot +RemainAfterExit=yes Environment=INIT_HALT=HALT Environment=RUNLEVEL=0 ExecStart=/etc/init.d/halt stop diff --git a/units/debian/killall.service b/units/debian/killall.service index ecd2c414..76cd2403 100644 --- a/units/debian/killall.service +++ b/units/debian/killall.service @@ -20,6 +20,6 @@ Description=Kill All Processes DefaultDependencies=no [Service] -Type=finish -ValidNoProcess=yes +Type=oneshot +RemainAfterExit=yes ExecStart=/etc/init.d/sendsigs stop diff --git a/units/debian/poweroff.service b/units/debian/poweroff.service index fee1f1e0..bff7dc38 100644 --- a/units/debian/poweroff.service +++ b/units/debian/poweroff.service @@ -22,7 +22,7 @@ Requires=shutdown.target killall.service After=shutdown.target killall.service [Service] -Type=finish -ValidNoProcess=yes +Type=oneshot +RemainAfterExit=yes Environment=RUNLEVEL=0 ExecStart=/etc/init.d/halt stop diff --git a/units/debian/reboot.service b/units/debian/reboot.service index 96338ce0..5f9fe989 100644 --- a/units/debian/reboot.service +++ b/units/debian/reboot.service @@ -22,7 +22,7 @@ Requires=shutdown.target killall.service After=shutdown.target killall.service [Service] -Type=finish -ValidNoProcess=yes +Type=oneshot +RemainAfterExit=yes Environment=RUNLEVEL=6 ExecStart=/etc/init.d/reboot stop