Difference between revisions of "/etc/rc.local"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
  
 +
 +
 +
<pre>
 +
# /etc/systemd/system/rc-local.service
 +
[Unit]
 +
Description=/etc/rc.local Compatibility
 +
ConditionPathExists=/etc/rc.local
 +
 +
[Service]
 +
Type=forking
 +
ExecStart=/etc/rc.local start
 +
TimeoutSec=0
 +
StandardOutput=tty
 +
RemainAfterExit=yes
 +
SysVStartPriority=99
 +
 +
[Install]
 +
WantedBy=multi-user.target
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 09:12, 16 December 2020

/etc/rc.local



# /etc/systemd/system/rc-local.service
[Unit]
 Description=/etc/rc.local Compatibility
 ConditionPathExists=/etc/rc.local

[Service]
 Type=forking
 ExecStart=/etc/rc.local start
 TimeoutSec=0
 StandardOutput=tty
 RemainAfterExit=yes
 SysVStartPriority=99

[Install]
 WantedBy=multi-user.target

See also

Advertising: