Files
notifications-admin/scripts/aws_stop_app.sh

15 lines
200 B
Bash
Raw Normal View History

#!/bin/bash
function error_exit
{
echo "$1" 1>&2
exit 0
}
echo "Stopping application"
if sudo service notifications-admin stop; then
exit 0
else
error_exit "Could not stop application"
fi