Linux下开机自动启动脚本
摘要:经常碰到机器断电之后需要重启一大堆服务,为了防止这种事情发生,设置开机自启的脚本十分的重要。 在介绍两种通用的方法之前,我先创建一个需要启动的脚本,此处将重启的时间重定向到/root/projects/date.txt内 vim /root/scripts/printdate.sh #!/bin/b
阅读全文
posted @ 2024-06-18 02:17
posted @ 2024-06-18 02:17
posted @ 2024-06-16 23:53