2015-01-23 13:09:30 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2017-12-11 12:28:42 +00:00
|
|
|
set -e
|
|
|
|
|
2019-03-28 16:29:44 +00:00
|
|
|
(cd /usr/share/hedera-web && npm install --production)
|
2020-01-23 07:25:10 +00:00
|
|
|
/usr/share/hedera-web/utils/update-browscap.sh > /dev/null
|
2017-12-11 12:28:42 +00:00
|
|
|
|
|
|
|
if [ -e /usr/share/apache2/apache2-maintscript-helper ]
|
|
|
|
then
|
|
|
|
. /usr/share/apache2/apache2-maintscript-helper
|
2020-01-21 08:56:35 +00:00
|
|
|
apache2_invoke enmod rewrite
|
|
|
|
apache2_invoke enmod headers
|
2020-01-21 08:37:11 +00:00
|
|
|
apache2_invoke enconf hedera-web.conf
|
2017-12-11 12:28:42 +00:00
|
|
|
fi
|
|
|
|
|
2020-01-20 21:26:15 +00:00
|
|
|
#service php7.3-fpm restart
|
|
|
|
#service cron restart
|