hedera-web/debian/postinst

16 lines
283 B
Plaintext
Raw Normal View History

#!/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
service cron restart