1
0
Fork 0

maintenance.sh. there's no app_generator here anymore

This commit is contained in:
Félix Piédallu 2024-09-27 16:50:26 +02:00
parent 1bbdbf1029
commit 1e9a637050

View file

@ -34,18 +34,7 @@ git_pull_and_restart_services() {
fi fi
# Cron # Cron
cat cron | sed "s@__BASEDIR__@$SCRIPT_DIR@g" > /etc/cron.d/apps_tools sed "s@__BASEDIR__@$SCRIPT_DIR@g" > /etc/cron.d/apps_tools < cron
pushd app_generator > /dev/null
update_venv
pushd static >/dev/null
./tailwindcss-linux-x64 --input tailwind-local.css --output tailwind.css --minify
popd >/dev/null
popd > /dev/null
systemctl restart appgenerator
sleep 3
systemctl --quiet is-active appgenerator || sendxmpppy "[appgenerator] Uhoh, failed to (re)start the appgenerator service?"
update_venv update_venv