mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Merge branch 'testing' into 'master'
Testing See merge request YunoHost-Apps/gitea_ynh!10
This commit is contained in:
commit
c1ebf1e4e0
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,7 @@ config_gitea() {
|
||||||
ynh_backup_if_checksum_is_different "$final_path/custom/conf/app.ini"
|
ynh_backup_if_checksum_is_different "$final_path/custom/conf/app.ini"
|
||||||
|
|
||||||
cp ../conf/app.ini "$final_path/custom/conf"
|
cp ../conf/app.ini "$final_path/custom/conf"
|
||||||
|
usermod -s /bin/bash $app
|
||||||
|
|
||||||
if [ "$path_url" = "/" ]
|
if [ "$path_url" = "/" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -111,4 +111,5 @@ yunohost service add "$app" --log "/var/log/$app/$app.log"
|
||||||
ynh_use_logrotate "/var/log/$app"
|
ynh_use_logrotate "/var/log/$app"
|
||||||
|
|
||||||
# Reload services
|
# 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…
Add table
Reference in a new issue