Guest User

mongodb.service for systemd

a guest
Jul 5th, 2013
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Unit]
  2. Description = Mongo is a scalable, document-oriented database.
  3. After=syslog.target network.target auditd.service
  4.  
  5. [Service]
  6. Type=forking
  7. ExecStart=/usr/bin/mongod -f /etc/mongod.conf
  8. User=mongod
  9. Group=mongod
  10. NoNewPrivileges=yes
  11.  
  12. [Install]
  13. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment