1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

sleep 1m to initialize DB

Temporary fix
This commit is contained in:
lapineige 2023-12-27 15:22:20 +01:00 committed by GitHub
parent c4fa371bfc
commit 54cbbfb6db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,6 +201,8 @@ mkdir -p "/var/log/$app"
chown -R $app:$app "/var/log/$app"
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started"
# wait for service to initialize DB (helps on slow hardware)
sleep 1m
#=================================================
# INSTALL LDAP PLUGIN