|
@@ -6,6 +6,11 @@ if [ "$1" != "configure" ]; then
|
|
|
exit 0
|
|
exit 0
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+# Run triggers below only on updates
|
|
|
|
|
+if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
|
|
|
|
|
+ exit
|
|
|
|
|
+fi
|
|
|
|
|
+
|
|
|
# Restart hestia service
|
|
# Restart hestia service
|
|
|
if [ -f "/etc/init.d/hestia" ]; then
|
|
if [ -f "/etc/init.d/hestia" ]; then
|
|
|
systemctl restart hestia > /dev/null 2>&1
|
|
systemctl restart hestia > /dev/null 2>&1
|