appmanage

This commit is contained in:
qiaofeng1227 2023-06-26 09:40:47 +08:00
parent fc5b532757
commit 81cb525864
2 changed files with 4 additions and 2 deletions

View File

@ -10,7 +10,7 @@ COPY static ./static
COPY requirements.txt main.py ./
RUN apt update
# Install supervisords
# Install supervisord
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View File

@ -88,7 +88,9 @@ def AppStoreUpdate():
for change in change_log[1:]:
if change != '':
content.append(change)
shell_execute.execute_command_output_all("wget https://websoft9.github.io/StackHub/install/update_appstore.sh && bash update_appstore.sh 1>/dev/null 2>&1")
shell_execute.execute_command_output_all("rm -rf /tmp/update_appstore.sh")
shell_execute.execute_command_output_all("cd /tmp && wget https://websoft9.github.io/StackHub/install/update_appstore.sh")
shell_execute.execute_command_output_all("bash /tmp/update_appstore.sh 1>/dev/null 2>&1")
return content
else: