Seafile 10_install.sh : useless backslashes
This commit is contained in:
parent
ed09573db5
commit
d914413229
|
@ -32,16 +32,16 @@ export seafile_release
|
||||||
export listen_if
|
export listen_if
|
||||||
export listen_port
|
export listen_port
|
||||||
|
|
||||||
podman-compose up -d && \
|
podman-compose up -d &&
|
||||||
echo -n "Waiting for seahub_settings.py " && \
|
echo -n "Waiting for seahub_settings.py " &&
|
||||||
while [ ! -e `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py ]; do
|
while [ ! -e `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py ]; do
|
||||||
echo -n "."
|
echo -n "."
|
||||||
sleep 1
|
sleep 1
|
||||||
done && echo "OK" && \
|
done && echo "OK" &&
|
||||||
sed -i -e "s|^FILE_SERVER_ROOT = \"http://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"|FILE_SERVER_ROOT = \"https://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"\nEMAIL_USE_TLS = False\nEMAIL_HOST = '${GARBAYE_SEAFILE_SMTP_SERVER}'\nEMAIL_HOST_USER = ''\nEMAIL_HOST_PASSWORD = ''\nEMAIL_PORT = 25\nDEFAULT_FROM_EMAIL = 'noreply@seafile.garbaye.fr'\nSERVER_EMAIL = 'noreply@seafile.garbaye.fr'|g" `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py && \
|
sed -i -e "s|^FILE_SERVER_ROOT = \"http://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"|FILE_SERVER_ROOT = \"https://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"\nEMAIL_USE_TLS = False\nEMAIL_HOST = '${GARBAYE_SEAFILE_SMTP_SERVER}'\nEMAIL_HOST_USER = ''\nEMAIL_HOST_PASSWORD = ''\nEMAIL_PORT = 25\nDEFAULT_FROM_EMAIL = 'noreply@seafile.garbaye.fr'\nSERVER_EMAIL = 'noreply@seafile.garbaye.fr'|g" `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py &&
|
||||||
echo -n "Waiting for seahub to finish starting " && \
|
echo -n "Waiting for seahub to finish starting " &&
|
||||||
( podman logs -f seafile 2>&1 & ) | grep -q 'Seahub is started' && \
|
( podman logs -f seafile 2>&1 & ) | grep -q 'Seahub is started' &&
|
||||||
echo "OK" && \
|
echo "OK" &&
|
||||||
podman pod stop ${pod_name} && \
|
podman pod stop ${pod_name} &&
|
||||||
echo Pod built and stopped. && \
|
echo Pod built and stopped. &&
|
||||||
shred -u .env
|
shred -u .env
|
||||||
|
|
Loading…
Reference in a new issue