mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Remove mastodon cron tasks
This commit is contained in:
parent
dcf41efbe5
commit
140a13c675
3 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue