Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add init.d script for Debian. Requires dpkg >= 1.16.5.
This init.d script has configurable parameters. The way I configured it requires 3 things: 1. A system user called nodejs which has its own group and homedir. 2. A system user called redis-commander which belongs to the nodejs group and uses the nodejs homedir. 3. The nodejs homedir MUST have g+w permission so redis-commander have permision to write as well. Below is a step-by-step to get it up and running: # useradd --system -m -s /bin/false nodejs # useradd --system -d /home/nodejs -G nodejs -s /bin/false \ redis-commander # chmod g+w /home/nodejs/ # cp dist/debian/init.d/redis-commander /etc/init.d/ # chmod +x /etc/init.d/redis-commander # update-rc.d redis-commander defaults # service redis-commander start
- Loading branch information