X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fdebian%2Freboot.service;fp=units%2Fdebian%2Freboot.service;h=99f259e992d5e631cba9a8a7f3210410080e69d9;hb=ad206afcb90368a03fd8373d49a491ef027c7a4a;hp=0000000000000000000000000000000000000000;hpb=7d568925bda9797f611e36d1d00cd941701cb3c8;p=elogind.git diff --git a/units/debian/reboot.service b/units/debian/reboot.service new file mode 100644 index 000000000..99f259e99 --- /dev/null +++ b/units/debian/reboot.service @@ -0,0 +1,19 @@ +# 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 +DefaultDependencies=no +Requires=shutdown.target umount.target killall.service +After=shutdown.target umount.target killall.service + +[Service] +Type=oneshot +RemainAfterExit=yes +Environment=RUNLEVEL=6 +ExecStart=/etc/init.d/reboot stop +StandardOutput=tty