From 140a13c67536a555bf9fea7b8f5a17efbc72bd91 Mon Sep 17 00:00:00 2001 From: nemsia Date: Fri, 8 Jun 2018 10:59:14 +0200 Subject: [PATCH] Remove mastodon cron tasks --- scripts/backup | 7 ------- scripts/install | 4 ---- scripts/restore | 6 ------ 3 files changed, 17 deletions(-) diff --git a/scripts/backup b/scripts/backup index ab231b3..0846afe 100644 --- a/scripts/backup +++ b/scripts/backup @@ -65,13 +65,6 @@ ynh_backup "/etc/systemd/system/$app-web.service" ynh_backup "/etc/systemd/system/$app-sidekiq.service" ynh_backup "/etc/systemd/system/$app-streaming.service" -#================================================= -# BACKUP THE CRON FILE -#================================================= - -# Copy the nginx conf files -ynh_backup "/etc/cron.d/$app" - #================================================= # BACKUP THE sources.list FILES #================================================= diff --git a/scripts/install b/scripts/install index 8058671..cbce4e3 100644 --- a/scripts/install +++ b/scripts/install @@ -247,10 +247,6 @@ RAILS_ENV=production bin/bundle exec rails mastodon:confirm_email USER_EMAIL=$ad SETADMIN ) -# Install crontab -cp ../conf/crontab_mastodon /etc/cron.d/$app -sed -i "s@__APP__@$app@g" /etc/cron.d/$app - #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/restore b/scripts/restore index 77cb229..a800966 100644 --- a/scripts/restore +++ b/scripts/restore @@ -148,12 +148,6 @@ ynh_restore_file "/etc/systemd/system/$app-sidekiq.service" ynh_restore_file "/etc/systemd/system/$app-streaming.service" systemctl enable "$app-web" "$app-sidekiq" "$app-streaming" -#================================================= -# RESTORE THE CRON FILE -#================================================= - -ynh_restore_file "/etc/cron.d/$app" - #================================================= # GENERIC FINALIZATION #=================================================