5

Getting cron to start Redis on reboot

view full story
linux-howto

http://serverfault.com – I am trying to get Redis to start every time my system reboots to make sure that the cache are availables to my webserver. What I did is that inserted the following line in my crontab: @reboot redis-server /path/to/redis.conf After rebooting my system, the cron logs indicate that the cronjob has run: Aug 15 01:10:59 hostname cron[1097]: (CRON) INFO (Running @reboot jobs) Aug 15 01:10:59 hostname CRON[1176]: (regis) CMD (redis-server /path/to/redis.conf) However, the redis server is not running, and that's my problem. Note that the redis server starts just fine whenever I run the command (HowTos)