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 2022-03-27 16:58:34 +02:00
parent 853b8d3d53
commit 6e9c75ef0c
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 10 deletions

View file

@ -1,8 +0,0 @@
/etc/logrotate.d/invidious.logrotate {
rotate 4
weekly
notifempty
missingok
compress
minsize 1048576
}

View file

@ -146,10 +146,12 @@ popd
#=================================================
# 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"
chmod 600 $final_path/config/config.yml
chmod 600 "$final_path/config/config.yml"
chown $app:$app "$final_path/config/config.yml"
#=================================================
# SETUP SYSTEMD