change main application filename
This commit is contained in:
parent
2b37ea01df
commit
f2bd712b2c
2 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ set_permission() {
|
||||||
chown -R $app:$app "/var/log/$app"
|
chown -R $app:$app "/var/log/$app"
|
||||||
|
|
||||||
chmod u=rwX,g=rX,o= "$final_path"
|
chmod u=rwX,g=rX,o= "$final_path"
|
||||||
chmod u=rwx,g=rx,o= "$final_path/gitea"
|
chmod u=rwx,g=rx,o= "$final_path/forgejo"
|
||||||
chmod u=rw,g=r,o= "$final_path/custom/conf/app.ini"
|
chmod u=rw,g=r,o= "$final_path/custom/conf/app.ini"
|
||||||
chmod u=rwX,g=rX,o= "$datadir"
|
chmod u=rwX,g=rX,o= "$datadir"
|
||||||
chmod u=rwX,g=rX,o= "/var/log/$app"
|
chmod u=rwX,g=rX,o= "/var/log/$app"
|
||||||
|
|
|
@ -81,7 +81,7 @@ ynh_add_systemd_config
|
||||||
ynh_script_progression --message="Configuring nginx..." --weight=1
|
ynh_script_progression --message="Configuring nginx..." --weight=1
|
||||||
config_nginx
|
config_nginx
|
||||||
|
|
||||||
# Configure gitea with app.ini file
|
# Configure forgejo with app.ini file
|
||||||
ynh_script_progression --message="Configuring application, step 1/2..."
|
ynh_script_progression --message="Configuring application, step 1/2..."
|
||||||
config_forgejo
|
config_forgejo
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@ set_permission
|
||||||
|
|
||||||
ynh_script_progression --message="Configuring application, step 2/2..."
|
ynh_script_progression --message="Configuring application, step 2/2..."
|
||||||
|
|
||||||
# Start gitea for building mysql tables
|
# Start forgejo for building mysql tables
|
||||||
systemctl start "$app".service
|
systemctl start "$app".service
|
||||||
|
|
||||||
# Wait untill login_source mysql table is created
|
# Wait untill login_source mysql table is created
|
||||||
|
|
Loading…
Reference in a new issue