summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md37
1 files changed, 37 insertions, 0 deletions
diff --git a/README.md b/README.md
index 5b174f1..645dae7 100644
--- a/README.md
+++ b/README.md
@@ -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
+```