mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
cleanup
This commit is contained in:
parent
2c3c58c0f5
commit
2cb77bb432
5 changed files with 29 additions and 4 deletions
24
conf/production.json
Normal file
24
conf/production.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"persistor": {
|
||||
"backend": "fs",
|
||||
"useSubdirectories": true
|
||||
},
|
||||
"basicHttpAuth": {
|
||||
"password": "password"
|
||||
},
|
||||
"useDeleteObjects": "false",
|
||||
"jwtAuth": {
|
||||
"algorithm": "HS256"
|
||||
},
|
||||
"mongo": {},
|
||||
"blobStore": {
|
||||
"globalBucket": "__DATA_DIR__/history/overleaf-global-blobs",
|
||||
"projectBucket": "__DATA_DIR__/history/overleaf-project-blobs"
|
||||
},
|
||||
"chunkStore": {
|
||||
"bucket": "__DATA_DIR__/history/overleaf-chunks"
|
||||
},
|
||||
"zipStore": {
|
||||
"bucket": "__DATA_DIR__/history/overleaf-zips"
|
||||
}
|
||||
}
|
|
@ -67,7 +67,7 @@ ynh_systemd_action --service_name="$app-contacts" --action="start" --log_path="/
|
|||
ynh_systemd_action --service_name="$app-docstore" --action="start" --log_path="/var/log/$app/docstore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-document-updater" --action="start" --log_path="/var/log/$app/document-updater.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-filestore" --action="start" --log_path="/var/log/$app/filestore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Loading backend"
|
||||
ynh_systemd_action --service_name="$app-notifications" --action="start" --log_path="/var/log/$app/notifications.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-project-history" --action="start" --log_path="/var/log/$app/project-history.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-real-time" --action="start" --log_path="/var/log/$app/real-time.log" --line_match="Using settings from"
|
||||
|
|
|
@ -103,7 +103,8 @@ cp -r "$install_dir/build/patches/" "$install_dir/live/patches/"
|
|||
cp -r "$install_dir/build/server-ce/config" "$install_dir/config/"
|
||||
ynh_secure_remove --file="$install_dir/config/settings.js"
|
||||
|
||||
cp "$install_dir/build/server-ce/config/production.json" "$install_dir/live/services/history-v1/config/"
|
||||
ynh_add_config --template="../conf/production.json" --destination="$install_dir/build/server-ce/config/production.json"
|
||||
ynh_add_config --template="../conf/production.json" --destination="$install_dir/live/services/history-v1/config/production.json"
|
||||
cp "$install_dir/build/server-ce/config/custom-environment-variables.json" "$install_dir/live/services/history-v1/config/"
|
||||
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@ ynh_systemd_action --service_name="$app-contacts" --action="start" --log_path="/
|
|||
ynh_systemd_action --service_name="$app-docstore" --action="start" --log_path="/var/log/$app/docstore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-document-updater" --action="start" --log_path="/var/log/$app/document-updater.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-filestore" --action="start" --log_path="/var/log/$app/filestore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Loading backend"
|
||||
ynh_systemd_action --service_name="$app-notifications" --action="start" --log_path="/var/log/$app/notifications.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-project-history" --action="start" --log_path="/var/log/$app/project-history.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-real-time" --action="start" --log_path="/var/log/$app/real-time.log" --line_match="Using settings from"
|
||||
|
|
|
@ -217,7 +217,7 @@ ynh_systemd_action --service_name="$app-contacts" --action="start" --log_path="/
|
|||
ynh_systemd_action --service_name="$app-docstore" --action="start" --log_path="/var/log/$app/docstore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-document-updater" --action="start" --log_path="/var/log/$app/document-updater.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-filestore" --action="start" --log_path="/var/log/$app/filestore.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-history-v1" --action="start" --log_path="/var/log/$app/history-v1.log" --line_match="Loading backend"
|
||||
ynh_systemd_action --service_name="$app-notifications" --action="start" --log_path="/var/log/$app/notifications.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-project-history" --action="start" --log_path="/var/log/$app/project-history.log" --line_match="Using settings from"
|
||||
ynh_systemd_action --service_name="$app-real-time" --action="start" --log_path="/var/log/$app/real-time.log" --line_match="Using settings from"
|
||||
|
|
Loading…
Reference in a new issue