Logo
Explore Help
Sign In
darkhelm/notifications-api
1
0
Fork 0
You've already forked notifications-api
mirror of https://github.com/GSA/notifications-api.git synced 2026-08-15 15:28:02 -04:00
Code Issues Packages Projects Releases Wiki Activity
Files
f839bae1f5b0c4bec7574f44f04252c7dfcc10a9
notifications-api/scripts/aws_stop_app.sh

15 lines
198 B
Bash
Raw Normal View History

Adding AWS code deploy files - app spec file forms basis of application deploy - various AWS specific files to install dependencies and call upstart for start and stop application
2015-12-15 16:26:56 +00:00
#!/bin/bash
Adding an error trap - if application fails top stop build fails
2015-12-16 13:20:55 +00:00
function error_exit
{
echo "$1" 1>&2
exit 0
}
Adding AWS code deploy files - app spec file forms basis of application deploy - various AWS specific files to install dependencies and call upstart for start and stop application
2015-12-15 16:26:56 +00:00
echo "Stopping application"
Adding an error trap - if application fails top stop build fails
2015-12-16 13:20:55 +00:00
if sudo service notifications-api stop; then
exit 0
else
error_exit "Could not stop application"
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 664ms Template: 83ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API