mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
12 lines
234 B
SYSTEMD
12 lines
234 B
SYSTEMD
|
[Unit]
|
||
|
Description=An object/document-oriented database
|
||
|
Documentation=man:mongod(1)
|
||
|
After=mynode.service
|
||
|
|
||
|
[Service]
|
||
|
User=mongodb
|
||
|
ExecStart=/usr/bin/mongod --config /etc/mongodb.conf
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|