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
|
|
|
|
|
2017-04-24 13:50:05 +00:00
|
|
|
service php5-fpm restart
|
2015-01-23 13:09:30 +00:00
|
|
|
service cron restart
|
|
|
|
|