moved api-fix.sh

This commit is contained in:
2025-11-17 16:37:40 -05:00
parent 2eef842a8c
commit b612a33497
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ services:
app:
configs:
- source: api_fix
target: /var/www/html/api-fix.patch
target: /api-fix.patch
mode: 0644
configs:

View File

@ -1,11 +1,10 @@
#!/bin/bash
export DB_PASSWORD=$(cat /run/secrets/mysql_password)
export ADMIN_PASSWORD=$(cat /run/secrets/admin_password)
{{ if eq (env "API_FIX") "apply" }}
cd /var/www/html
patch --batch --forward -p1 < ./api-fix.patch
patch --batch --forward -p1 < /api-fix.patch
{{ end }}
/usr/local/bin/akaunting.sh --start