X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=units%2Ffedora%2Freboot.service;h=79c5ef41ca7ab1b28ac7686db01bad641263d0f7;hb=dfca381db341205b7a68f40ef2b7550ac6972cab;hp=9aec7aaac68a2ce986a210d3712e75ab75e54a33;hpb=e6aad08ba82e44e88f9186eab30c68ceaf6370a3;p=elogind.git diff --git a/units/fedora/reboot.service b/units/fedora/reboot.service index 9aec7aaac..79c5ef41c 100644 --- a/units/fedora/reboot.service +++ b/units/fedora/reboot.service @@ -1,19 +1,9 @@ # This file is part of systemd. # -# Copyright 2010 Lennart Poettering -# # 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. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with systemd; If not, see . [Unit] Description=Reboot @@ -22,5 +12,6 @@ After=shutdown.target killall.service [Service] Type=finish +ValidNoProcess=yes Environment=RUNLEVEL=6 -ExecStart=/etc/init.d/reboot start +ExecStart=@/etc/init.d/halt reboot start