diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-08 10:59:14 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-06-08 10:59:14 +0200 |
| commit | 140a13c67536a555bf9fea7b8f5a17efbc72bd91 (patch) | |
| tree | 995be2e52b80b141b6017a3a64ea14a688041840 /scripts | |
| parent | dcf41efbe5a45d32054f55e281735628d311eecc (diff) | |
| download | mastodon_ynh-140a13c67536a555bf9fea7b8f5a17efbc72bd91.tar.gz mastodon_ynh-140a13c67536a555bf9fea7b8f5a17efbc72bd91.tar.bz2 mastodon_ynh-140a13c67536a555bf9fea7b8f5a17efbc72bd91.zip | |
Remove mastodon cron tasks
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/backup | 7 | ||||
| -rw-r--r-- | scripts/install | 4 | ||||
| -rw-r--r-- | scripts/restore | 6 |
3 files changed, 0 insertions, 17 deletions
diff --git a/scripts/backup b/scripts/backup index ab231b3..0846afe 100644 --- a/scripts/backup +++ b/scripts/backup @@ -66,13 +66,6 @@ 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 #================================================= if [ "$(lsb_release --codename --short)" == "jessie" ]; then 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 @@ -149,12 +149,6 @@ 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 #================================================= # RELOAD NGINX AND PHP-FPM |
