Skip to content

Instantly share code, notes, and snippets.

@arindampradhan
Created October 4, 2016 20:10
Show Gist options
  • Save arindampradhan/1ed7cd6e48b9a206cf37e54944a82f9b to your computer and use it in GitHub Desktop.
Save arindampradhan/1ed7cd6e48b9a206cf37e54944a82f9b to your computer and use it in GitHub Desktop.

Revisions

  1. arindampradhan created this gist Oct 4, 2016.
    10 changes: 10 additions & 0 deletions mongodb.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    [Unit]
    Description=High-performance, schema-free document-oriented database
    After=network.target

    [Service]
    User=mongodb
    ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf

    [Install]
    WantedBy=multi-user.target