Miniflux: Fix escaping for PG_PASS
This commit is contained in:
parent
f925b71673
commit
662b8e0100
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ PG_PASS=$(openssl rand -hex 32)
|
|||
incus file push <(sed "s/SED_PG_PASS/$PG_PASS/" "$WORKSPACE"/miniflux.conf) \
|
||||
"$CNAME"/etc/miniflux.conf
|
||||
set -x
|
||||
incus exec "$CNAME" -- bash -c 'sudo -u postgres psql -c "CREATE USER miniflux WITH PASSWORD '"'"'${PG_PASS}'"'"';"'
|
||||
incus exec "$CNAME" -- bash -c "sudo -u postgres psql -c \"CREATE USER miniflux WITH PASSWORD '${PG_PASS}';\""
|
||||
incus exec "$CNAME" -- bash -c 'sudo -u postgres psql -c "CREATE DATABASE miniflux OWNER miniflux;"'
|
||||
|
||||
incus exec "$CNAME" -- systemctl enable miniflux
|
||||
|
|
Loading…
Add table
Reference in a new issue