1
13693261870
9 天以前 82e605057fd7e038f6809642f4af5954c068f065
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=/etc/rc.local Compatibility
Documentation=man:systemd-rc-local-generator(8)
ConditionFileIsExecutable=/etc/rc.local
After=network.target
 
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
RemainAfterExit=yes
GuessMainPID=no
 
# 在该文件末尾添加以下内容
[Install]
WantedBy=multi-user.target
Alias=rc-local.service