mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-23 11:31:35 +01:00
[fix] install
This commit is contained in:
parent
05de69f723
commit
6476e9b647
@ -49,6 +49,13 @@ ynh_app_setting_set $app web_port $port
|
|||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
|
||||||
|
# Configure init script
|
||||||
|
ynh_add_systemd_config
|
||||||
|
|
||||||
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
config_nginx
|
||||||
|
|
||||||
# Initialize database and store mysql password for upgrade
|
# Initialize database and store mysql password for upgrade
|
||||||
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||||
|
|
||||||
@ -73,12 +80,6 @@ mv gitea-1.3.3-linux-amd64 gitea
|
|||||||
# Configure gogs with app.ini file
|
# Configure gogs with app.ini file
|
||||||
config_gitea
|
config_gitea
|
||||||
|
|
||||||
# Configure init script
|
|
||||||
ynh_add_systemd_config
|
|
||||||
|
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
|
||||||
config_nginx
|
|
||||||
|
|
||||||
# Start gogs for building mysql tables
|
# Start gogs for building mysql tables
|
||||||
systemctl start "$app".service
|
systemctl start "$app".service
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user