mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Fix
This commit is contained in:
parent
03047dfb00
commit
4725618aec
2 changed files with 4 additions and 2 deletions
|
@ -166,7 +166,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
|
|||
|
||||
# Set permissions to app files
|
||||
chown -R $app: $final_path
|
||||
chmod -R 755 $final_path/bin
|
||||
chmod 600 $final_path/config/config.yml
|
||||
|
||||
#=================================================
|
||||
|
@ -184,6 +183,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
|
|||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd
|
||||
|
||||
chmod -R 755 $final_path/bin
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
|
|
@ -149,7 +149,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
|
|||
|
||||
# Set permissions on app files
|
||||
chown -R $app: $final_path
|
||||
chmod -R 755 $final_path/bin
|
||||
chmod 600 $final_path/config/config.yml
|
||||
|
||||
#=================================================
|
||||
|
@ -166,6 +165,8 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
|
|||
|
||||
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd
|
||||
|
||||
chmod -R 755 $final_path/bin
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue