summaryrefslogtreecommitdiffstats
path: root/core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service')
-rw-r--r--core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service b/core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service
new file mode 100644
index 00000000..cb9c1ba2
--- /dev/null
+++ b/core/modules/systemd-distro/data/usr/lib/systemd/system/rc-local.service
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 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.local is executable.
+[Unit]
+Description=/etc/rc.local Compatibility
+ConditionFileIsExecutable=/etc/rc.local
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/etc/rc.local start
+TimeoutSec=0
+RemainAfterExit=yes
+SysVStartPriority=99