Skip to content

Instantly share code, notes, and snippets.

@ezhuravlev
Last active December 8, 2021 16:05
Show Gist options
  • Save ezhuravlev/5532339 to your computer and use it in GitHub Desktop.
Save ezhuravlev/5532339 to your computer and use it in GitHub Desktop.
service <servicename> does not support chkconfig (CentOS)
/etc/init.d/<servicename>:
# chkconfig: 345 20 80
# description: my service
345 - 3,4,5 runlevels
20 - start priority
80- stop prioroty
@seiste
Copy link

seiste commented Sep 25, 2018

Thank you. The comment lines helped me to remove a outdated service package that was left after an update.

@ducht2630
Copy link

thank you very much!

@adilaxundov94
Copy link

Thanks !

@tiencd
Copy link

tiencd commented Oct 1, 2020

It's work, thanks!

@Anshuman-bansal
Copy link

how to use above
in my centos /etc file is present int.d but i can't edit that

to copy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment