Skip to content

dstevensio/misc-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

misc-utils

Various scripts and examples for keeping things running and making life easier

Check yo'self before you wreck yo'self

checkapp.sh

Checks if your node.js app is running, starts it if it's not. In this form it's only useful if you only have 1 running on the machine at a time, but a good starting point to expand out to cover multiple scripts.

nb: requires forever to be installed

  $ npm install -g forever

checknginx.sh

Checks if your nginx instance is running, starts it if it's not.

checkrdb.sh

Checks if your redis-server instance is running, starts it if it's not. In this form it's only useful if you only have 1 running on the machine at a time, but a good starting point to expand out to cover multiple instances.

crontab-example.txt

An example crontab entry to run each of the above scripts every minute.

About

Various scripts and examples for keeping things running and making life easier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages