Fix ynh_systemd_action in upgrade process

This commit is contained in:
Josué Tille
2020-11-28 18:57:19 +01:00
parent b67fafcf08
commit 21b3f33146

View File

@ -121,7 +121,7 @@ fi
restart_gitea() {
# Set permissions
set_permission
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
ynh_systemd_action -l "Starting new server: tcp:127.0.0.1:" -p "/var/log/$app/gitea.log" -t 30
# Leave the time to update the database schema
sleep 5
systemctl stop $app