diff options
author | haturatu <taro@eyes4you.org> | 2024-08-20 22:52:18 +0900 |
---|---|---|
committer | haturatu <taro@eyes4you.org> | 2024-08-20 22:52:18 +0900 |
commit | f86c7b6934c1caa53b84b34045f5de755b9cfb36 (patch) | |
tree | a2825bb3bbbb165e7e9486320d9ee1d5f089188d /README.md | |
parent | 26d9051ab7ad4ec2202e0e68b6dd98df3b70bed6 (diff) |
first commit
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 +``` |