Fix start service managment and listen only on localhost

This commit is contained in:
Josué Tille
2020-03-27 13:55:02 +01:00
parent c87d5a3c66
commit f933d40896
5 changed files with 5 additions and 4 deletions

View File

@ -55,7 +55,7 @@ config_gitea
# RELOAD services
ynh_script_progression --message="Starting services..."
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "/var/log/$app/gitea.log" -a restart -t 10
ynh_systemd_action -l "Starting new server: tcp:127.0.0.1:" -p "/var/log/$app/gitea.log" -t 10
sleep 1
# Store the checksum with the 'INTERNAL_TOKEN' value.