Use ynh_systemd_action to control service start

This commit is contained in:
Josué Tille
2019-02-15 17:42:39 +01:00
parent fb15a9c489
commit 0e108f1261
5 changed files with 91 additions and 58 deletions

View File

@ -50,5 +50,4 @@ config_nginx
config_gitea
# RELOAD services
ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gitea.log"
sleep 1
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd" -a restart