Skip to content

Commit

Permalink
Merge pull request #56 from alexcode/master
Browse files Browse the repository at this point in the history
Restart services in the postdeploy step
  • Loading branch information
rennokki authored Jul 16, 2021
2 parents af1aa2d + 718653d commit f7bb1e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .platform/hooks/postdeploy/restart_services.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh

# This file will make sure to restart on specific services like NGINX.
# During postdeploy, we make sure to restart the services to take in consideration the new custom configs.
# Please see the related issue(s): https://github.com/rennokki/laravel-aws-eb/issues/55

# Feel free to uncomment the following lines in case you have issues. ¯\_(ツ)_/¯

# sudo systemctl restart nginx.service

0 comments on commit f7bb1e7

Please sign in to comment.