diff options
author | haturatu <haturatu> | 2024-04-23 19:48:48 +0900 |
---|---|---|
committer | haturatu <haturatu> | 2024-04-23 19:48:48 +0900 |
commit | 211bb9f4367bc4eb067ed9c2b8cb0023f51f9f69 (patch) | |
tree | 8b92a9bcc783cef139441ea142e15ca36e6004e0 /README.md | |
parent | 3ab2b352144d54d77362c352af1c459594cb6fa7 (diff) |
first commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
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! |