MongoDB在CentOS 7上的systemctl服务配置
[Unit]Description=mongodbAfter=network.target remote-fs.target nss-lookup.target[Service]Type=forkingPIDFile=mongodb_data/data/mongod.lockExecStart=usr/local/mongodb/mongod-dbpath=mongodb_data/data/-logpath=mongodb_data/...