summaryrefslogtreecommitdiff
path: root/README.md
blob: cc7004ce78aa9960a1211fdf4ff0100b2cb7fd56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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!