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
f5cfd9534e
commit
e8ca959fd3
2 changed files with 2 additions and 9 deletions
|
@ -1,9 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gogs (Go Git Service)
|
Description=Gogs (Go Git Service)
|
||||||
After=syslog.target
|
After=syslog.target network.target mysql.service slapd.service
|
||||||
After=network.target
|
|
||||||
After=mysql.service
|
|
||||||
After=slapd.service
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
# Modify these two values and uncomment them if you have repos
|
# Modify these two values and uncomment them if you have repos
|
||||||
|
|
|
@ -28,11 +28,7 @@ ynh_script_progression --message="Loading installation settings..." --time --wei
|
||||||
|
|
||||||
# Needed for helper "ynh_add_nginx_config"
|
# Needed for helper "ynh_add_nginx_config"
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
|
port=$(ynh_app_setting_get --app=$app --key=web_port)
|
||||||
# Add settings here as needed by your application
|
|
||||||
#db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
|
||||||
#db_user=$db_name
|
|
||||||
#db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
|
|
Loading…
Add table
Reference in a new issue