linux 引导 rc.local
最编程
2024-04-28 22:54:43
...
[root@k8s-master harbor]# vim /etc/rc.d/rc.local
#!/bin/bash
# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES
#
# It is highly advisable to create own systemd services or udev rules
# to run scripts during boot instead of using this file.
#
# In contrast to previous versions due to parallel execution during boot
# this script will NOT be run after all other services.
#
# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure
# that this script will be executed during boot.
touch /var/lock/subsys/local
/bin/bash /root/harbor/startall.sh
上一篇: 帅气的 SVG 路径动画实际应用
下一篇: WPF 使用路径动画制作循环加载动画
推荐阅读
-
在 Linux-2.6.32 内核上编译 ipset-6.23 的坎坷经历。
-
无需重启即可生效的 Linux 系统宝库
-
通配符琐事 安装黑色苹果 OpenCore 引导 @a.macrovan
-
Linux 内存管理:了解正常波动背后的机制
-
Asahi Linux Alpha 发布:首个支持苹果 M 系列芯片组的 Linux 发行版
-
若易Linux Centos 7.9 安装和部署如意前端和后端集成版
-
Python Linux 自动化运行 -- Openpyxl Excel 处理
-
Linux 系统服务工具:systemctl 的配置和使用
-
Linux 内核驱动程序开发-006 内核计时器
-
Linux 学习 sudo 和 vim 配置