aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/backup7
-rw-r--r--scripts/install4
-rw-r--r--scripts/restore6
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