2010-06-02 00:53:30 +02:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Halt
|
2010-07-03 19:53:37 +02:00
|
|
|
DefaultDependencies=no
|
2010-07-13 21:30:38 +02:00
|
|
|
Requires=shutdown.target umount.target
|
|
|
|
After=shutdown.target umount.target
|
2010-06-02 00:53:30 +02:00
|
|
|
|
|
|
|
[Service]
|
2010-08-13 18:23:01 +02:00
|
|
|
Type=oneshot
|
2010-08-17 19:37:36 +02:00
|
|
|
RemainAfterExit=yes
|
2010-07-09 11:53:39 +02:00
|
|
|
Environment=INIT_HALT=HALT RUNLEVEL=0 COLD_BOOT=1
|
|
|
|
ExecStart=/etc/init.d/halt
|
2010-08-04 14:21:01 +02:00
|
|
|
StandardOutput=tty
|