1
13693261870
2025-01-14 ef225d856cdaf8c5f5b7c08db4b1a3e01ffca90f
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