Last active
December 24, 2015 22:19
-
-
Save thiagozs/6871830 to your computer and use it in GitHub Desktop.
shell script forever fire up
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
#!/bin/bash | |
forever -p ./logs \ | |
-l server_out.log \ | |
-o ./logs/server_out.log \ | |
-e ./logs/server_err.log \ | |
--append \ | |
--plain \ | |
--minUptime 1000 \ | |
--spinSleepTime 1000 \ | |
start server.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment