/init.d

init.d services for Ubuntu & CentOS

Primary LanguageShell

This is my Ubuntu /etc/init.d/ scripts.

Notice

You need install that software first, all then install in /usr/local and the conf files in /usr/local/etc/.

Include services and Application/Config files location

  • Ubutnu Server 10.04
  • Redis (/usr/local/bin/redis, /usr/local/etc/redis.conf)
  • MongoDB (/usr/local/bin/mongod, /usr/local/etc/mongodb.conf)
  • Nginx (/usr/local/nginx/sbin/nginx, nginx.conf in /usr/local/nginx/conf)
  • PHP-CGI (sudo apt-get install php5-cgi)