codimd/run.sh

8 lines
254 B
Bash
Raw Normal View History

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