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
2019-09-13 11:11:15 +00:00
service php7.3-fpm restart
service cron restart