Closed laughk closed 8 years ago
$ cat /etc/systemd/system/rc-local.service
[Unit]
Description=/etc/rc.local compatibility
[Service]
Type=oneshot
ExecStart=/etc/rc.local
# disable timeout logic
TimeoutSec=0
#StandardOutput=tty
RemainAfterExit=yes
SysVStartPriority=99
[Install]
WantedBy=multi-user.target
$ sudo systemctl enable rc-local
Created symlink from /etc/systemd/system/multi-user.target.wants/rc-local.service to /etc/systemd/system/rc-local.service.
これはこれで効いてるっぽいのでクローズ。
laughk/dell-xps15-9550/issues/11 の件でたまたま以下のWikiを発見した
https://wiki.archlinux.org/index.php/User:Herodotus/Rc-Local-Systemd