summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/arch/halt.service2
-rw-r--r--units/arch/poweroff.service2
-rw-r--r--units/arch/reboot.service2
-rw-r--r--units/fedora/halt.service2
-rw-r--r--units/fedora/killall.service2
-rw-r--r--units/fedora/plymouth-quit.service2
-rw-r--r--units/fedora/poweroff.service2
-rw-r--r--units/fedora/reboot.service2
-rw-r--r--units/gentoo/halt.service2
-rw-r--r--units/gentoo/killall.service2
-rw-r--r--units/gentoo/poweroff.service2
-rw-r--r--units/gentoo/reboot.service2
-rw-r--r--units/session/exit.service.in2
-rw-r--r--units/suse/halt.service2
-rw-r--r--units/suse/poweroff.service2
-rw-r--r--units/suse/reboot.service2
-rw-r--r--units/systemd-update-utmp-runlevel.service.in2
-rw-r--r--units/systemd-update-utmp-shutdown.service.in2
18 files changed, 18 insertions, 18 deletions
diff --git a/units/arch/halt.service b/units/arch/halt.service
index b1935262f..dbfc22878 100644
--- a/units/arch/halt.service
+++ b/units/arch/halt.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
diff --git a/units/arch/poweroff.service b/units/arch/poweroff.service
index 3d40ba82c..bd563ba58 100644
--- a/units/arch/poweroff.service
+++ b/units/arch/poweroff.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/rc.shutdown
diff --git a/units/arch/reboot.service b/units/arch/reboot.service
index 37112fe9f..6bce95d8f 100644
--- a/units/arch/reboot.service
+++ b/units/arch/reboot.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RUNLEVEL=6
ExecStart=/etc/rc.shutdown
diff --git a/units/fedora/halt.service b/units/fedora/halt.service
index 6e2745eed..a6c4786a8 100644
--- a/units/fedora/halt.service
+++ b/units/fedora/halt.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=INIT_HALT=HALT RUNLEVEL=0
ExecStart=/etc/init.d/halt start
diff --git a/units/fedora/killall.service b/units/fedora/killall.service
index 3b27375fe..53c65d4a3 100644
--- a/units/fedora/killall.service
+++ b/units/fedora/killall.service
@@ -12,7 +12,7 @@ After=shutdown.target
RefuseManualStart=yes
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
ExecStart=-/etc/init.d/killall start
StandardOutput=tty
diff --git a/units/fedora/plymouth-quit.service b/units/fedora/plymouth-quit.service
index faf8b4d7a..869a2ec59 100644
--- a/units/fedora/plymouth-quit.service
+++ b/units/fedora/plymouth-quit.service
@@ -11,7 +11,7 @@ Before=getty@tty1.service
[Service]
ExecStart=-/usr/bin/plymouth quit
-Type=finish
+Type=oneshot
[Install]
WantedBy=multi-user.target
diff --git a/units/fedora/poweroff.service b/units/fedora/poweroff.service
index cd6ec3edc..7597f4f65 100644
--- a/units/fedora/poweroff.service
+++ b/units/fedora/poweroff.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RUNLEVEL=0
ExecStart=/etc/init.d/halt start
diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service
index 01bd46395..6120ceb82 100644
--- a/units/fedora/reboot.service
+++ b/units/fedora/reboot.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RUNLEVEL=6
ExecStart=/etc/init.d/reboot start
diff --git a/units/gentoo/halt.service b/units/gentoo/halt.service
index 56c3f2e60..826c69f06 100644
--- a/units/gentoo/halt.service
+++ b/units/gentoo/halt.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=INIT_HALT=HALT RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
diff --git a/units/gentoo/killall.service b/units/gentoo/killall.service
index 3f107e3be..8b42af87b 100644
--- a/units/gentoo/killall.service
+++ b/units/gentoo/killall.service
@@ -12,7 +12,7 @@ After=shutdown.target
RefuseManualStart=yes
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
ExecStart=-/etc/init.d/killprocs start
StandardOutput=tty
diff --git a/units/gentoo/poweroff.service b/units/gentoo/poweroff.service
index 40126b211..8a5a62794 100644
--- a/units/gentoo/poweroff.service
+++ b/units/gentoo/poweroff.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=RC_DOWN_HARDDISK=yes
ExecStart=/etc/init.d/shutdown.sh
diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service
index de1665579..b5defb168 100644
--- a/units/gentoo/reboot.service
+++ b/units/gentoo/reboot.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
ExecStart=/etc/init.d/reboot.sh
StandardOutput=tty
diff --git a/units/session/exit.service.in b/units/session/exit.service.in
index 1f515a75c..d098d0da5 100644
--- a/units/session/exit.service.in
+++ b/units/session/exit.service.in
@@ -5,5 +5,5 @@ Requires=shutdown.target
After=shutdown.target
[Service]
-Type=finish
+Type=oneshot
ExecStart=@SYSTEMCTL@ --session daemon-exit
diff --git a/units/suse/halt.service b/units/suse/halt.service
index 559a51ce7..32b7dc204 100644
--- a/units/suse/halt.service
+++ b/units/suse/halt.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
ExecStart=/etc/init.d/halt
diff --git a/units/suse/poweroff.service b/units/suse/poweroff.service
index f68882c14..13b13b042 100644
--- a/units/suse/poweroff.service
+++ b/units/suse/poweroff.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=COLD_BOOT=1
ExecStart=/etc/init.d/halt
diff --git a/units/suse/reboot.service b/units/suse/reboot.service
index 6b2982a9a..3ee290e65 100644
--- a/units/suse/reboot.service
+++ b/units/suse/reboot.service
@@ -12,7 +12,7 @@ Requires=shutdown.target umount.target
After=shutdown.target umount.target
[Service]
-Type=finish
+Type=oneshot
ValidNoProcess=yes
Environment=COLD_BOOT=1
ExecStart=/etc/init.d/reboot
diff --git a/units/systemd-update-utmp-runlevel.service.in b/units/systemd-update-utmp-runlevel.service.in
index 9b7677f3a..90bb9379e 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
diff --git a/units/systemd-update-utmp-shutdown.service.in b/units/systemd-update-utmp-shutdown.service.in
index 0551a9b7e..f5d134224 100644
--- a/units/systemd-update-utmp-shutdown.service.in
+++ b/units/systemd-update-utmp-shutdown.service.in
@@ -12,5 +12,5 @@ Before=killall.service
Conflicts=systemd-update-utmp-runlevel.service
[Service]
-Type=finish
+Type=oneshot
ExecStart=-@rootlibexecdir@/systemd-update-utmp shutdown