mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-10-15 07:12:22 +02:00
Apply suggestion from @vhsdream
This commit is contained in:
@@ -196,7 +196,7 @@ EOF
|
|||||||
$STD sudo -u cool coolconfig set ssl.enable false
|
$STD sudo -u cool coolconfig set ssl.enable false
|
||||||
$STD sudo -u cool coolconfig set ssl.termination true
|
$STD sudo -u cool coolconfig set ssl.termination true
|
||||||
$STD sudo -u cool coolconfig set ssl.ssl_verification true
|
$STD sudo -u cool coolconfig set ssl.ssl_verification true
|
||||||
sed -i "s|CSP2\"/>|CSP2\">frame-ancestors https://${OC_HOST}</content_security_policy>|" /etc/coolwsd/coolwsd.xml
|
sed -i "s|CSP2\"/>|CSP2\">frame-ancestors https://${OPENCLOUD_FQDN}</content_security_policy>|" /etc/coolwsd/coolwsd.xml
|
||||||
useradd -r -M -s /usr/sbin/nologin opencloud
|
useradd -r -M -s /usr/sbin/nologin opencloud
|
||||||
chown -R opencloud:opencloud "$CONFIG_DIR" "$DATA_DIR"
|
chown -R opencloud:opencloud "$CONFIG_DIR" "$DATA_DIR"
|
||||||
sudo -u opencloud opencloud init --config-path "$CONFIG_DIR" --insecure no
|
sudo -u opencloud opencloud init --config-path "$CONFIG_DIR" --insecure no
|
||||||
|
|||||||
Reference in New Issue
Block a user