summaryrefslogtreecommitdiff
path: root/README.md
blob: 130805afe7d79390e3eb97a296868d5494d6b322 (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/haturatu/openrc-mongod.git
```

2. Move 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!