added script to restart server
parent
7ef826afbb
commit
1c0831ab6e
|
@ -3,3 +3,5 @@ deployment:
|
|||
hooks:
|
||||
AfterInstall:
|
||||
- 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