mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Fix
This commit is contained in:
parent
33baffdb2e
commit
224225a7ad
4 changed files with 7 additions and 13 deletions
|
@ -16,10 +16,5 @@
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
port_already_use=1
|
port_already_use=1
|
||||||
change_url=1
|
change_url=1
|
||||||
;;; Levels
|
|
||||||
Level 5=auto
|
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=aa075b2051ffad7b0b6fef3a9c767376d5bdbfab
|
|
||||||
name=Before multi_instance and refactoring
|
|
||||||
; commit=1cbec051e1171de5a8ed1e850eb4fb3506114da5
|
|
||||||
name=From V0.10.18
|
|
||||||
|
|
|
@ -6,9 +6,8 @@ After=mysql.service
|
||||||
After=slapd.service
|
After=slapd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Modify these two values and uncomment them if you have
|
# Modify these two values and uncomment them if you have repos
|
||||||
# repos with lots of files and get an HTTP error 500 because
|
# with lots of files and get an HTTP error 500 because of that
|
||||||
# of that
|
|
||||||
###
|
###
|
||||||
#LimitMEMLOCK=infinity
|
#LimitMEMLOCK=infinity
|
||||||
#LimitNOFILE=65535
|
#LimitNOFILE=65535
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
"url": "http://gogs.io",
|
"url": "http://gogs.io",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "Josué Tille",
|
"name": "",
|
||||||
"email": "josue@tille.ch"
|
"email": ""
|
||||||
},
|
},
|
||||||
"previous_maintainers": {
|
"previous_maintainers": {
|
||||||
"name": "tostaki",
|
"name": "tostaki",
|
||||||
|
|
|
@ -188,7 +188,7 @@ set_access_settings
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||||
|
|
||||||
yunohost service add "$app" --log "/var/log/$app/$app.log"
|
yunohost service add "$app" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP LOGROTATE
|
# SETUP LOGROTATE
|
||||||
|
@ -208,7 +208,7 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$ap
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reloading nginx web server..." --weight=1
|
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue