diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 37 |
1 files changed, 37 insertions, 0 deletions
@@ -1 +1,38 @@ # lume-watcher + +## Usage + +1. Clone this repository. +``` +git clone https://github.com/haturatu/lume-watcher +``` + +2. Move the mongod script to /etc/init.d/mongod. +``` +sudo mv lume-watcher /etc/init.d/lume-watcher +``` + +3. Optionally, change the permissions of the mongod script. +``` +sudo chmod +x /etc/init.d/lume-watcher +``` + +4. Add a service to SysVinit. +``` +sudo update-rc.d lume-watcher defaults +``` +done! + +## Start-Stop +``` +sudo /etc/init.d/lume-watcher start +``` +``` +sudo /etc/init.d/lume-watcher stop +``` +``` +sudo /etc/init.d/lume-watcher restart +``` +``` +sudo /etc/init.d/lume-watcher status +``` |