config/ubuntu-20.04/etc/systemd/system/rc-local.service

28 lines
506 B
SYSTEMD
Raw Normal View History

2020-06-01 16:40:56 +00:00
# /etc/systemd/system/rc-local.service
# Setup:
# sudo touch /etc/rc.local
# sudo chmod +x /etc/rc.local
# sudo systemctl enable rc-local
#
# Check with:
#
# sudo systemctl start rc-local.service
# sudo systemctl status 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