X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Fgentoo%2Freboot.service;fp=units%2Fgentoo%2Freboot.service;h=92c4962a605ec8e405ea58ab9e2ca918ba034070;hb=ea2d9ed42d9896d2ade0dcd5d555c35778c19049;hp=0000000000000000000000000000000000000000;hpb=cfe243e3720062c2e0eecd8bb0bdd7b4059e156d;p=elogind.git diff --git a/units/gentoo/reboot.service b/units/gentoo/reboot.service new file mode 100644 index 000000000..92c4962a6 --- /dev/null +++ b/units/gentoo/reboot.service @@ -0,0 +1,18 @@ +# 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 +Requires=shutdown.target killall.service +After=shutdown.target killall.service +Conflicts=dev-hugepages.automount dev-mqueue.automount proc-sys-fs-binfmt_misc.automount sys-kernel-debug.automount + +[Service] +Type=finish +ValidNoProcess=yes +Environment=RUNLEVEL=6 +ExecStart=/etc/init.d/reboot.sh