See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| storage: | |
| dbPath: "/data/db/300-mm" | |
| directoryPerDB: true | |
| journal: | |
| enabled: true | |
| systemLog: | |
| destination: file | |
| path: "/data/db/300-mm/mongodb.log" | |
| logAppend: true | |
| timeStampFormat: iso8601-utc |
| 'use strict'; | |
| /** | |
| * Module dependencies. | |
| */ | |
| var mongoose = require('mongoose'), | |
| AWS = require('aws-sdk'), | |
| exec = require('child_process').exec, | |
| fs = require('fs'), | |
| name = new Date().toISOString(); |
| # -*- coding: utf-8 -*- | |
| '''Dump MongoDB databases to the zip archives | |
| and copy its to the output folder. | |
| Usage: python mongozip.py | |
| ''' | |
| import os | |
| import os.path | |
| import datetime | |
| import tempfile | |
| import shutil |
| cd ~ | |
| wget http://mmonit.com/monit/dist/binary/5.12/monit-5.12-linux-x64.tar.gz | |
| tar zxf monit-5.12-linux-x64.tar.gz | |
| cd monit-5.12/ | |
| cp bin/monit /usr/bin/ | |
| mkdir /etc/monit | |
| touch /etc/monit/monitrc | |
| chmod 0700 /etc/monit/monitrc | |
| ln -s /etc/monit/monitrc /etc/monitrc | |
| wget https://gist.githubusercontent.com/gaurish/964456aa08c9fa2e43ee/raw/1aa107e62ecaaa2dacfdb61a12f13efb6f15005b/monit -P /etc/init.d/ |