mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-26 00:55:54 +00:00
OpenCloud: remove double quote in sed command
This commit is contained in:
@@ -131,7 +131,7 @@ useradd -r -M -s /usr/sbin/nologin opencloud
|
||||
chown -R opencloud:opencloud "$CONFIG_DIR" "$DATA_DIR"
|
||||
sudo -u opencloud opencloud init --config-path "$CONFIG_DIR" --insecure no
|
||||
OPENCLOUD_SECRET="$(sed -n '/jwt/p' "$CONFIG_DIR"/opencloud.yaml | awk '{print $2}')"
|
||||
sed -i "s/JWT_SECRET=/&\"${OPENCLOUD_SECRET}\"/" "$ENV_FILE"
|
||||
sed -i "s/JWT_SECRET=/&${OPENCLOUD_SECRET}/" "$ENV_FILE"
|
||||
systemctl enable -q --now coolwsd opencloud opencloud-wopi
|
||||
msg_ok "Configured ${APPLICATION}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user