]> git.ipfire.org Git - thirdparty/systemd.git/blame - units/gentoo/poweroff.service
service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for...
[thirdparty/systemd.git] / units / gentoo / poweroff.service
CommitLineData
ea2d9ed4
MAP
1# This file is part of systemd.
2#
3# systemd is free software; you can redistribute it and/or modify it
4# under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2 of the License, or
6# (at your option) any later version.
7
8[Unit]
9Description=Power-Off
af65a091 10DefaultDependencies=no
172f6478
LP
11Requires=shutdown.target umount.target killall.service
12After=shutdown.target umount.target killall.service
ea2d9ed4
MAP
13
14[Service]
34e9ba66 15Type=oneshot
ea2d9ed4
MAP
16ValidNoProcess=yes
17Environment=RC_DOWN_HARDDISK=yes
18ExecStart=/etc/init.d/shutdown.sh
1e532d14 19StandardOutput=tty