After you run rc. localArchlinux to replace initscript with systemd at archlinuxsystemd startup, many service startup methods have changed. The original/etc/rc. d/rc. local has disappeared and is recommended to be replaced by tmpfiles. d. However, after some operations such as tmpfiles. d... archlinux systemd are started and rc. local Archlinux is executed to replace initscript with systemd, many service startup methods have changed. The original/etc/rc. d/rc. local has disappeared and is recommended to be replaced by tmpfiles. d. However, some operations on tmpfiles. d cannot be replaced. Www.2cto.com needs to manually write a rc-local.service file. Vim/usr/lib/systemd/system/rc-local.service: [Unit] Description = "/etc/rc. d/rc. local Compatibility "after1_network.tar get [Service] Type = forkingExecStart =/etc/rc. d/rc. local startTimeoutSec = 0 StandardInput = ttyRemainAfterExit = yesSysVStartPriority = 99 www.2cto.com uninstall install1_wantedby#multi user.tar get enable script systemctl enable rc-local.service to create the startup file rc. local, vim/etc/rc. d/rc. localchmod + x/etc/rc. d/rc. enter your operation in local mode, such as hdparm-B199/dev/sda # solve the c1 gate
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.