Last active
January 21, 2019 06:32
-
-
Save pooza/d4d6ca5cbf21ea5eb1e8516837aacd96 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
God.watch do |god| | |
god.name = 'growi' | |
god.env = { | |
'NODE_ENV' => 'production', | |
'MONGO_URI' => 'mongodb://localhost:27017/growi', | |
'PORT' => '3012', | |
'FILE_UPLOAD' => 'local', | |
'EIO_WS_ENGINE' => 'ws', | |
} | |
god.dir = '/home/pooza/growi' | |
god.uid = 'pooza' | |
god.start = 'node /home/pooza/growi/src/server/app.js' | |
god.stop = 'pkill -f /home/pooza/growi' | |
god.log_cmd = 'logger -t growi' | |
god.keepalive | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment