Skip to content

Instantly share code, notes, and snippets.

@ezhuravlev
Last active December 8, 2021 16:05
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@saada
Copy link

saada commented Jul 21, 2014

super helpful! Thank you!

@globalmp
Copy link

globalmp commented Feb 5, 2018

Thank you!

@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!

@objectgrind
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