added script to restart server
parent
7ef826afbb
commit
1c0831ab6e
|
@ -2,4 +2,6 @@
|
|||
deployment:
|
||||
hooks:
|
||||
AfterInstall:
|
||||
- command: scripts/migrate.sh
|
||||
- command: scripts/migrate.sh
|
||||
AfterActivate:
|
||||
- command: scripts/restart-server.sh
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
service apache2 restart > /dev/null 2>&1 &
|
||||
service php7.0-fpm restart > /dev/null 2>&1 &
|
Loading…
Reference in New Issue