2010-06-16 19:50:55 +08:00
|
|
|
# This file is part of systemd.
|
|
|
|
#
|
|
|
|
# systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 06:20:58 +08:00
|
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
2010-06-16 19:50:55 +08:00
|
|
|
# (at your option) any later version.
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Power-Off
|
2012-06-26 23:50:29 +08:00
|
|
|
Documentation=man:systemd-halt.service(8)
|
2010-07-04 01:53:37 +08:00
|
|
|
DefaultDependencies=no
|
2010-10-14 09:07:36 +08:00
|
|
|
Requires=shutdown.target umount.target final.target
|
|
|
|
After=shutdown.target umount.target final.target
|
2010-06-16 19:50:55 +08:00
|
|
|
|
|
|
|
[Service]
|
2010-08-14 00:23:01 +08:00
|
|
|
Type=oneshot
|
2010-10-14 08:58:37 +08:00
|
|
|
ExecStart=@SYSTEMCTL@ --force poweroff
|