2015-01-23 13:09:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-12-11 12:28:42 +00:00
|
|
|
set -e
|
|
|
|
|
|
|
|
(cd /usr/share/hedera-web && npm install --production)
|
|
|
|
|
|
|
|
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
|
|
|
then
|
|
|
|
. /usr/share/apache2/apache2-maintscript-helper
|
|
|
|
apache2_invoke enconf hedera-web.conf
|
|
|
|
fi
|
|
|
|
|
2018-05-08 15:02:26 +00:00
|
|
|
service php7.0-fpm restart
|
2015-01-23 13:09:30 +00:00
|
|
|
service cron restart
|
|
|
|
|