标签:Debian

Debian9/10添加开机自启动方法rc.local

 1、添加 rc-local.service#以下为一整条命令,一起复制运行cat > /etc/systemd/system/rc-local.service <<EOF[Unit]Description=/etc/rc.localConditionPathExists=/etc/rc.local ……