Where is rc.d in ubuntu




















Then I run update-rc. Python Javascript Linux Cheat sheet Contact. To add it to your startup, you have to tell Ubuntu about it: sudo update-rc. If you want to start it immediately, you can call it directly: sudo service css-servers start You have the first part done. Registered User. Join Date: Oct Dear all, I'm trying to install mysql cluster on two ubuntu-nodes using this article. Thank You very much. Join Date: Nov If chkconfig is missing in your Ubuntu version there should be a chkconfig package you can install.

Join Date: Aug Apache 2. Hi 2 all, i have had AIX 7. Shell Programming and Scripting. Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9". System : opensuse leap However, if all links have been deleted then the next time the package is upgraded, the package's postinst script will run update-rc.

The correct way to disable services is to configure the service as stopped in all runlevels in which it is started by default. In the System V init system this means renaming the service's symbolic links from S to K. The script must have been deleted already. Improve this question. Community Bot 1. I don't have time for an answer now, but, if you want this to run as part of your startup, then I think you have to add links to your script in the various runlevel directories so Linux will handle starting and stopping it for you.

The link in your post addresses some of this. Add a comment. Active Oldest Votes. Improve this answer. Seth 52k 41 41 gold badges silver badges bronze badges. David Purdue David Purdue 2, 11 11 silver badges 15 15 bronze badges. This would be considered as the best answer, cause of pointing to update-rc. Alaa Ali Alaa Ali Also you can try with: sudo update-rc.



0コメント

  • 1000 / 1000