Last active
November 23, 2015 22:47
-
-
Save mwoodbri/7340d6de6a280bfab823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export METEOR_SETTINGS=$(</etc/chaser.json) | |
export ROOT_URL=http://<HOSTNAME> | |
export MAIL_URL=smtp://... | |
export MONGO_URL=mongodb://DBSERVER/meteor | |
export MONGO_OPLOG_URL=mongodb://DBSERVER/local | |
export PORT=3000 | |
export HTTP_FORWARDED_COUNT=1 | |
export KADIRA_APP_ID=... | |
export KADIRA_APP_SECRET=... | |
node /opt/chaser/main.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"public": { | |
"site_name": "Chaser", | |
"env": "production", | |
... | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Chaser | |
Requires=mongod.service | |
After=mongod.service | |
[Service] | |
ExecStart=/usr/local/bin/chaser | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment