aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/single.service
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-28 12:57:42 -0400
committerBill Nottingham <notting@redhat.com>2010-10-28 12:57:42 -0400
commit2f51ac69b5a56444344af3248e80dff2a51d5661 (patch)
tree6eb624683613347af48dcfe7cd7bc85babf0c6ea /systemd/system/single.service
parent4ba8d66cd61d412a709ee65c72a1398a5d861c2a (diff)
downloadinitscripts-2f51ac69b5a56444344af3248e80dff2a51d5661.tar
initscripts-2f51ac69b5a56444344af3248e80dff2a51d5661.tar.gz
initscripts-2f51ac69b5a56444344af3248e80dff2a51d5661.tar.bz2
initscripts-2f51ac69b5a56444344af3248e80dff2a51d5661.tar.xz
initscripts-2f51ac69b5a56444344af3248e80dff2a51d5661.zip
Use systemd versions of these services.
Diffstat (limited to 'systemd/system/single.service')
-rw-r--r--systemd/system/single.service29
1 files changed, 0 insertions, 29 deletions
diff --git a/systemd/system/single.service b/systemd/system/single.service
deleted file mode 100644
index 4264cd56..00000000
--- a/systemd/system/single.service
+++ /dev/null
@@ -1,29 +0,0 @@
-# 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.
-
-# See systemd.special(7) for details
-
-[Unit]
-Description=Rescue Shell
-DefaultDependencies=no
-Conflicts=multi-user.target shutdown.target
-After=basic.target
-Before=multi-user.target
-
-[Service]
-Type=simple
-EnvironmentFile=/etc/sysconfig/init
-Environment=HOME=/root
-ExecStartPre=-/bin/plymouth --hide-splash
-ExecStart=-/bin/bash -c "exec $SINGLE"
-ExecStopPost=/bin/systemctl default
-StandardInput=tty-force
-KillMode=process-group
-
-# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
-# terminates cleanly.
-KillSignal=SIGHUP