Remove warnings

This commit is contained in:
Éric Gaspar 2022-07-24 17:53:10 +02:00
parent e0056d1d01
commit eda162e413
No known key found for this signature in database
GPG Key ID: 574F281483054D44

View File

@ -133,7 +133,7 @@ restart_gitea() {
# Set permissions # Set permissions
set_permission set_permission
#ynh_systemd_action -l "Starting new server: tcp:127.0.0.1:" -p "/var/log/$app/gitea.log" -t 30 #ynh_systemd_action -l "Starting new server: tcp:127.0.0.1:" -p "/var/log/$app/gitea.log" -t 30
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/gitea.log" --line_match="Starting new Web server: tcp:127.0.0.1:" ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/gitea.log" --line_match="Serving 127.0.0.1:"
# Leave the time to update the database schema # Leave the time to update the database schema
sleep 5 sleep 5
systemctl stop $app systemctl stop $app