1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/invidious_ynh.git synced 2024-09-03 19:15:55 +02:00
This commit is contained in:
ericgaspar 2021-04-11 09:32:08 +02:00
parent 03047dfb00
commit 4725618aec
2 changed files with 4 additions and 2 deletions

View file

@ -166,7 +166,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
# Set permissions to app files # Set permissions to app files
chown -R $app: $final_path chown -R $app: $final_path
chmod -R 755 $final_path/bin
chmod 600 $final_path/config/config.yml 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 # Start a systemd service
ynh_systemd_action --service_name=$app --action=start --log_path=systemd ynh_systemd_action --service_name=$app --action=start --log_path=systemd
chmod -R 755 $final_path/bin
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT
#================================================= #=================================================

View file

@ -149,7 +149,6 @@ ynh_script_progression --message="Securing files and directories..." --weight=1
# Set permissions on app files # Set permissions on app files
chown -R $app: $final_path chown -R $app: $final_path
chmod -R 755 $final_path/bin
chmod 600 $final_path/config/config.yml 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 ynh_systemd_action --service_name=$app --action=restart --log_path=systemd
chmod -R 755 $final_path/bin
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX
#================================================= #=================================================