Skip to content

Instantly share code, notes, and snippets.

@pooza pooza/growi.god
Last active Jan 21, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.