maintenance.sh. there's no app_generator here anymore
This commit is contained in:
parent
1bbdbf1029
commit
1e9a637050
1 changed files with 1 additions and 12 deletions
|
@ -34,18 +34,7 @@ git_pull_and_restart_services() {
|
|||
fi
|
||||
|
||||
# Cron
|
||||
cat cron | sed "s@__BASEDIR__@$SCRIPT_DIR@g" > /etc/cron.d/apps_tools
|
||||
|
||||
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?"
|
||||
|
||||
sed "s@__BASEDIR__@$SCRIPT_DIR@g" > /etc/cron.d/apps_tools < cron
|
||||
|
||||
update_venv
|
||||
|
||||
|
|
Loading…
Reference in a new issue