home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix.
[config]
/
buster
/
setup_scripts
/
backup_app.sh
diff --git
a/buster/setup_scripts/backup_app.sh
b/buster/setup_scripts/backup_app.sh
index ada3eb1973100372a0236e6590d630c53fc772f8..e3f22e43f70bed78f519f9d0cda6193d325f339b 100755
(executable)
--- a/
buster/setup_scripts/backup_app.sh
+++ b/
buster/setup_scripts/backup_app.sh
@@
-14,7
+14,7
@@
shift 2
cd /tmp
rm -rf "/tmp/${app}_backup"
-
app
"${app}" stop
+
service
"${app}" stop
su postgres -lc "pg_dump -d ${db_name} --format=custom -f ${app}_backup/pgdump"
for target in "$@"; do