chiark / gitweb /
units: synchronize with shutdown.target
[elogind.git] / units / fedora / rc-local.service
index b3ece1ed1b7e0a9d646770e5c3f36389bb37466f..30a2c8afbdc86752cc738170d3375ba34f983ce4 100644 (file)
 #  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=/etc/rc.local Compatibility
 Requires=basic.target
+Conflicts=shutdown.target
 
 # The rcN.d symlink uses the name "local" while the script itself is
 # called "rc.local", hence carry both names here.
@@ -28,4 +27,7 @@ Names=rc-local.service local.service
 [Service]
 ExecStart=/etc/rc.local start
 Type=simple
+TimeoutSec=0
+StandardInput=tty
+ValidNoProcess=yes
 SysVStartPriority=99