Use ynh_systemd_action to control service start

This commit is contained in:
Josué Tille committed 2019-02-16 23:35:49 +01:00
1 parent fb15a9c489
commit 0e108f1261
5 files changed
+91 -58

No files matched your search

+1 -3
View File
@@ -110,6 +110,4 @@ set_permission
set_access_settings
# Reload services
# ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gitea.log"
sleep 20
systemctl restart gitea
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"