16 lines
283 B
Bash
Executable File
16 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|
|
|
|
service php5-fpm restart
|
|
service cron restart
|
|
|