chiark / gitweb /
udev: switch to systemd logging functions
[elogind.git] / units / fedora / rc-local.service
index 1d5d10506a96491f4767ed468b33d89c387d821b..0bef5c72ab90f5b796dd957af89ed251f9eecc48 100644 (file)
@@ -5,18 +5,15 @@
 #  the Free Software Foundation; either version 2 of the License, or
 #  (at your option) any later version.
 
+# This unit gets pulled automatically into multi-user.target by
+# systemd-rc-local-generator if /etc/rc.d/rc.local is executable.
 [Unit]
-Description=/etc/rc.local Compatibility
-ConditionPathExists=/etc/rc.local
+Description=/etc/rc.d/rc.local Compatibility
+After=network.target
 
 [Service]
 Type=forking
-Environment=TERM=linux
-ExecStart=/etc/rc.local start
+ExecStart=/etc/rc.d/rc.local start
 TimeoutSec=0
-StandardOutput=tty
 RemainAfterExit=yes
 SysVStartPriority=99
-
-[Install]
-WantedBy=multi-user.target