日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux添加启动脚本文件夹,linux – 将脚本中的符号链接添加到rc.d文件夹中以在系统启动期间启动进程...

發布時間:2023/12/13 linux 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux添加启动脚本文件夹,linux – 将脚本中的符号链接添加到rc.d文件夹中以在系统启动期间启动进程... 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我正在使用fedora 15.

我試圖添加MYSql守護進程在系統strtup期間啟動.

我已經明白我必須將它添加到rc5.d,因為它是默認目標&是graphical.target.

來自inittab:

systemd uses ‘targets’ instead of runlevels. By default, there are two main targets:

multi-user.target: analogous to runlevel 3

graphical.target: analogous to runlevel 5

When the system is shut down, there is another symlink in the /etc/rc0.d and /etc/rc6.d directories (halt and reboot, respectively) that starts with a K instead of an S, which tells init to shut down the process.

我注意到httpd的符號鏈接存在于所有rc< number> .d文件夾中

作為符號鏈接:K15httpd – > ../init.d/httpd.

沒有以S開頭的符號鏈接.因為我必須手動啟動它才有意義.

Why is the symlink K15httpd -> ../init.d/httpd present in all the rc.d folders?

What should I name the symlink if I want to start httpd during system startup?

What is the number that is present in the symlink? i.e. K15httpd -> ../init.d/httpd what is 15 here?

I read (07001) that the symlink to MYSql should be S98mysql is it right and what should the name to symlink that starts with K should be?

總結

以上是生活随笔為你收集整理的linux添加启动脚本文件夹,linux – 将脚本中的符号链接添加到rc.d文件夹中以在系统启动期间启动进程...的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。