HackMD/run.sh

8 lines
254 B
Bash
Raw Normal View History

2015-06-01 10:04:25 +00:00
#!/bin/bash
2015-05-15 04:58:13 +00:00
forever stop hackmd
DATABASE_URL='change this' \
MONGOLAB_URI='change this' \
PORT='80' \
SSLPORT='443' \
DOMAIN='change this' \
2015-07-01 16:10:20 +00:00
forever -a --uid hackmd -l ./logs/hackmd_log.log -o ./logs/hackmd_out.log -e ./logs/hackmd_error.log start app.js