From 203a15b447e903b325c286fce5c68e45f9ef5ae9 Mon Sep 17 00:00:00 2001 From: wh1te909 <7434746+wh1te909@users.noreply.github.com> Date: Tue, 11 Jun 2024 00:31:53 +0000 Subject: [PATCH] cleanup pid file on start --- install.sh | 3 ++- update.sh | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2436561c..5f21e236 100644 --- a/install.sh +++ b/install.sh @@ -855,7 +855,7 @@ echo "${celeryconf}" | sudo tee /etc/conf.d/celery.conf >/dev/null celerybeatservice="$( cat </dev/null + sudo systemctl daemon-reload +fi + # migrate daphne to uvicorn if ! grep -q uvicorn /etc/systemd/system/daphne.service; then sudo rm -f /etc/systemd/system/daphne.service