reboot.service 534 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#  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=Reboot
10
DefaultDependencies=no
11 12
Requires=shutdown.target umount.target killall.service
After=shutdown.target umount.target killall.service
13 14

[Service]
15
Type=oneshot
16
RemainAfterExit=yes
17
ExecStart=/etc/init.d/reboot.sh
18
StandardOutput=tty