From f86a0b62b83ee2ac4317a2856d4f2ce25b08ea7b Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sat, 28 Aug 2010 20:27:39 +0200 Subject: [PATCH] Update to -8 syntax --- units/debian/halt.service | 4 ++-- units/debian/killall.service | 4 ++-- units/debian/poweroff.service | 4 ++-- units/debian/reboot.service | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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 -- 2.39.5