summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..cc7004c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,24 @@
+# openrc-mongod
+
+## Usage
+
+1. Clone this repository.
+```
+git clone https://github.com/example/openrc-mongod.git
+```
+
+2. Mnove the mongod script to /etc/init.d/mongod.
+```
+sudo mv mongod /etc/init.d/mongod
+```
+
+3. Optionally, change the permissions of the mongod script.
+```
+sudo chmod +x /etc/init.d/mongod
+```
+
+4. Add a service to OpenRC.
+```
+sudo rc-update add mongod default
+```
+done!