mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-21 10:31:36 +01:00
[fix] ynh_check_starting and ssh push
This commit is contained in:
parent
9a9a1030ca
commit
923447fa4f
@ -49,6 +49,7 @@ config_gitea() {
|
||||
ynh_backup_if_checksum_is_different "$final_path/custom/conf/app.ini"
|
||||
|
||||
cp ../conf/app.ini "$final_path/custom/conf"
|
||||
usermod -s /bin/bash $app
|
||||
|
||||
if [ "$path_url" = "/" ]
|
||||
then
|
||||
|
@ -111,4 +111,5 @@ yunohost service add "$app" --log "/var/log/$app/$app.log"
|
||||
ynh_use_logrotate "/var/log/$app"
|
||||
|
||||
# Reload services
|
||||
ynh_check_starting "INFO] Listen: http://0.0.0.0:" "/var/log/$app/gitea.log"
|
||||
ynh_check_starting "Serving [::]:$port with pid" "/var/log/$app/gitea.log"
|
||||
systemctl gitea restart
|
Loading…
Reference in New Issue
Block a user