Skip to content

Instantly share code, notes, and snippets.

@toshiharu
Created May 12, 2013 17:20
Show Gist options
  • Select an option

  • Save toshiharu/5564291 to your computer and use it in GitHub Desktop.

Select an option

Save toshiharu/5564291 to your computer and use it in GitHub Desktop.
--- rc-local.service.~1~ 2013-05-13 00:04:40.000000000 +0900
+++ rc-local.service 2013-05-13 01:55:21.895025151 +0900
@@ -6,15 +6,15 @@
# (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.
+# systemd-rc-local-generator if /etc/rc.local is executable.
[Unit]
-Description=/etc/rc.d/rc.local Compatibility
-ConditionFileIsExecutable=/etc/rc.d/rc.local
+Description=/etc/rc.local Compatibility
+ConditionFileIsExecutable=/etc/rc.local
After=network.target
[Service]
Type=forking
-ExecStart=/etc/rc.d/rc.local start
+ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes
SysVStartPriority=99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment