jiot1w
Last Updated: February 25, 2016
·
155
· jasonyost
2182167268 72

Quickly add a service to start up in Ubuntu/Debian

The service of course should exist in /etc/init.d

Add any service to rc.d by running the command

sudo update-rc.d <servicename> defaults

For example after installing Redis (if you didn't use the install script provided). You can set Redis to start when the server starts by running the command

sudo update-rc.d redis_6379 defaults

This is also assuming you installed Redis to run on the default port.

Say Thanks
Respond
Filed Under