summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2024-08-20 22:52:18 +0900
committerhaturatu <taro@eyes4you.org>2024-08-20 22:52:18 +0900
commitf86c7b6934c1caa53b84b34045f5de755b9cfb36 (patch)
treea2825bb3bbbb165e7e9486320d9ee1d5f089188d
parent26d9051ab7ad4ec2202e0e68b6dd98df3b70bed6 (diff)
first commit
-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
+```