----- Original Message ---- > From: Taher Shihadeh <[email protected]> > To: David McKeegan <[email protected]> > Cc: [email protected] > Sent: Tue, December 8, 2009 12:52:22 AM > Subject: Re: [Cherokee] how to start up automatically? > > David McKeegan wrote: > > I downloaded and installed 0.99.31 to my Debian Lenny VPS and set up two > > sites > - one static, and one Wordpress. Trouble is, when I reboot the server, I need > to > login to Cherokee-admin and boot it up manually. There doesn't appear to be > an > init script in /etc/init.d. > > > > I am a Linux newbie, and would appreciate if someone could send some > > detailed > instructions of how to fix this. I have the latest download on my hard drive, > and assume that copying over a file or two into to init.d will fix it. Is > that > right? If so, what files > contrib/cherokee is what you are looking for. > Once copied, the usual update-rc.d will do.
Since you're using (Lenny) and in case you have a warning about 'upstart' just edit the contrib/cherokee file header to be like: #!/bin/bash -e ### BEGIN INIT INFO # Provides: cherokee # Required-Start: $local_fs $remote_fs $network $syslog # Required-Stop: $local_fs $remote_fs $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/stop cherokee web server ### END INIT INFO # cherokee Start the Cherokee Web Server. # # http://www.cherokee-project.com/ If it's working fine, just ignore my post ;-) - Ossama _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
