From 211bb9f4367bc4eb067ed9c2b8cb0023f51f9f69 Mon Sep 17 00:00:00 2001 From: haturatu Date: Tue, 23 Apr 2024 19:48:48 +0900 Subject: first commit --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 README.md 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! -- cgit v1.2.3