Hack to try to ensure nginx failures don't happen when matrix is installed
This commit is contained in:
parent
95b0f1cbee
commit
fe963a94d6
|
@ -126,6 +126,13 @@ fi
|
||||||
# If logging was left on then turn it off
|
# If logging was left on then turn it off
|
||||||
${PROJECT_NAME}-logging off
|
${PROJECT_NAME}-logging off
|
||||||
|
|
||||||
|
# This is a hack to fix nginx failures which happen sometimes
|
||||||
|
# when matrix is installed
|
||||||
|
if [ -d /etc/matrix ]; then
|
||||||
|
systemctl restart matrix
|
||||||
|
systemctl restart nginx
|
||||||
|
fi
|
||||||
|
|
||||||
# upgrading file prevents USB canary from activating
|
# upgrading file prevents USB canary from activating
|
||||||
if [ -f /tmp/.upgrading ]; then
|
if [ -f /tmp/.upgrading ]; then
|
||||||
rm /tmp/.upgrading
|
rm /tmp/.upgrading
|
||||||
|
|
Loading…
Reference in New Issue