Skip to content

Commit

Permalink
Merge pull request #62 from holidayextras/staging
Browse files Browse the repository at this point in the history
Staging -> Production
  • Loading branch information
hx-markterry authored Sep 2, 2021
2 parents d23fdb7 + 00f848e commit 29c2c57
Show file tree
Hide file tree
Showing 7 changed files with 198 additions and 81 deletions.
3 changes: 2 additions & 1 deletion codeDeploy/restartService.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

#!/bin/bash -e
SERVICE=${APPLICATION_NAME}

Expand All @@ -12,4 +13,4 @@ if [ ! -f "$file" ]; then
fi

echo "Restarting ${SERVICE} (${APPLICATION_NAME})"
service $SERVICE restart
service $SERVICE restart
2 changes: 1 addition & 1 deletion codeDeploy/startService.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if [ ! -f "$file" ]; then
fi

echo "Starting $SERVICE (${APPLICATION_NAME})"
service $SERVICE start
service $SERVICE start
2 changes: 1 addition & 1 deletion codeDeploy/stopService.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if [ ! -f "$file" ]; then
fi

echo "Stopping $SERVICE (${APPLICATION_NAME})"
service $SERVICE stop
service $SERVICE stop
7 changes: 7 additions & 0 deletions codeDeploy/systemctlRestartService.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e
SERVICE=${APPLICATION_NAME}

echo "Restarting ${SERVICE} (${APPLICATION_NAME})"

systemctl start primaryApplication.service

7 changes: 7 additions & 0 deletions codeDeploy/systemctlStartService.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e
SERVICE=${APPLICATION_NAME}

echo "Starting $SERVICE (${APPLICATION_NAME})"

systemctl start primaryApplication.service

7 changes: 7 additions & 0 deletions codeDeploy/systemctlStopService.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e
SERVICE=${APPLICATION_NAME}

echo "Stopping $SERVICE (${APPLICATION_NAME})"

systemctl stop primaryApplication.service

Loading

0 comments on commit 29c2c57

Please sign in to comment.