Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't configure thin to start at system boot on CentOs

I can't configure thin to start at system boot, I am new to Linux

I have CentOS 5.7

Thin gem was installed and thin was installed too.

sudo gem install thin
sudo thin install

and when I try to configure thin to start at system boot I get an error

sudo /sbin/chkconfig --level 345 thin on
error reading information on service thin: No such file or directory

Anybody have an idea why I get this error? Thanks,

like image 368
Mesbah Avatar asked Nov 20 '11 01:11

Mesbah


1 Answers

sudo mv /etc/rc.d/thin /etc/rc.d/init.d/thin, and retry.

like image 134
光源凪 Avatar answered Oct 22 '22 08:10

光源凪