[Unit] Description=High-performance, schema-free document-oriented database After=syslog.target network.target [Service] Type=forking User=mongodb PIDFile=/var/run/mongodb/mongodb-shard.pid EnvironmentFile=__SCL_SCRIPTS__/service-environment EnvironmentFile=/etc/sysconfig/mongodb-shard ExecStart=/usr/bin/scl enable __list of scls__ -- /usr/bin/mongos $OPTIONS # FIXME after selinux-policy has the needed stuff PrivateTmp=true LimitNOFILE=64000 [Install] WantedBy=multi-user.target