Upstart stop if running
A colleague came up with a great solution
if ( initctl status node-App | grep start ); then
initctl stop node-App
fi
Very simple and works properly when run from Jenkins
A colleague came up with a great solution
if ( initctl status node-App | grep start ); then
initctl stop node-App
fi
Very simple and works properly when run from Jenkins