superjamie / minecraft-init-script

An initscript to start Minecraft or CraftBukkit on CentOS, Fedora, and Ubuntu
GNU General Public License v3.0
65 stars 31 forks source link

adding chkconfig option #3

Closed cbcercas closed 11 years ago

cbcercas commented 11 years ago

without this we get a "service minecraft does not support chkconfig"

superjamie commented 11 years ago

What distro and version of chkconfig are you using? The existing codeblock with "Default-Start" and "Default-Stop" adheres to the LSB, which recent chkconfig should honour over its own comment style: http://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/initscrcomconv.html