hedera-web/debian/postinst

16 lines
285 B
Plaintext
Raw Normal View History

#!/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)
2017-12-11 12:28:42 +00:00
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
service cron restart