chiark / gitweb /
load-fragment: add support for overriding argv[0] in parsed command lines
[elogind.git] / units / fedora / reboot.service
index 45a2934972018da9471260ef396e3c0152a64568..1b0df32581a52baa4fabd1dc5e59602aed8bcf9d 100644 (file)
@@ -15,8 +15,6 @@
 #  You should have received a copy of the GNU General Public License
 #  along with systemd; If not, see <http://www.gnu.org/licenses/>.
 
-# See systemd.special(7) for details
-
 [Unit]
 Description=Reboot
 Requires=shutdown.target killall.service
@@ -24,5 +22,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