16 lines
317 B
SYSTEMD
16 lines
317 B
SYSTEMD
|
[Unit]
|
||
|
Description=High-performance, schema-free document-oriented database
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
User=mongodb
|
||
|
EnvironmentFile=/etc/sysconfig/mongod
|
||
|
ExecStart=/usr/bin/mongod $OPTIONS run
|
||
|
PrivateTmp=true
|
||
|
LimitNOFILE=64000
|
||
|
TimeoutStartSec=180
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|