Init.d script header for chkconfig on CentOS/Red Hat

# chkconfig: 2345 95 20
# description: Some description
# What your script does (not sure if this is necessary though)
# processname: myscript

Add this few lines to your selfcreated init.d script.

# processname: myscript

Need to be changed to the script name you have added to /etc/init.d/

weiterlesen …