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
853b8d3d53
commit
6e9c75ef0c
2 changed files with 4 additions and 10 deletions
|
@ -1,8 +0,0 @@
|
||||||
/etc/logrotate.d/invidious.logrotate {
|
|
||||||
rotate 4
|
|
||||||
weekly
|
|
||||||
notifempty
|
|
||||||
missingok
|
|
||||||
compress
|
|
||||||
minsize 1048576
|
|
||||||
}
|
|
|
@ -146,10 +146,12 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Modifying a config file..."
|
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
|
ynh_add_config --template="../conf/config.yml" --destination="$final_path/config/config.yml"
|
||||||
chmod 600 $final_path/config/config.yml
|
|
||||||
|
chmod 600 "$final_path/config/config.yml"
|
||||||
|
chown $app:$app "$final_path/config/config.yml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
|
|
Loading…
Add table
Reference in a new issue