From 7ace962a479c03e7986c6e941797f60a4e34fd2c Mon Sep 17 00:00:00 2001 From: anmol26s Date: Mon, 1 Oct 2018 03:18:49 +0530 Subject: [PATCH] Path in systemd --- conf/production.yaml | 2 -- scripts/upgrade | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/conf/production.yaml b/conf/production.yaml index 45d5ff8..a13fb47 100644 --- a/conf/production.yaml +++ b/conf/production.yaml @@ -73,8 +73,6 @@ trending: # Once you have defined your strategies, choose which instances you want to cache in admin -> manage follows -> following redundancy: videos: - check_interval: '10 hour' # How often you want to check new videos to cache - strategies: # - # size: '10GB' # strategy: 'most-views' # Cache videos that have the most views diff --git a/scripts/upgrade b/scripts/upgrade index ac4d2c5..80c25a3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -172,7 +172,7 @@ ynh_use_logrotate --non-append #================================================= # SETUP SYSTEMD #================================================= - +ynh_replace_string "__ENV_PATH__" "$PATH" "../conf/systemd.service" # Create a dedicated systemd config ynh_add_systemd_config