aboutsummaryrefslogtreecommitdiff
path: root/scripts/restore
diff options
context:
space:
mode:
authoranmol <github@datamol.org>2018-11-07 09:42:21 +0530
committeranmol <github@datamol.org>2018-11-07 09:42:21 +0530
commit9d07d121ad516bf0d3db1c5eb700cb6575630802 (patch)
tree8ce15bdd606cbbacb538457f628b997af40d05c5 /scripts/restore
parent7b33bf4f034e701262de23cb5193e3fdd184311f (diff)
downloadmastodon_ynh-9d07d121ad516bf0d3db1c5eb700cb6575630802.tar.gz
mastodon_ynh-9d07d121ad516bf0d3db1c5eb700cb6575630802.tar.bz2
mastodon_ynh-9d07d121ad516bf0d3db1c5eb700cb6575630802.zip
Upgrade error fix and cron job
Diffstat (limited to 'scripts/restore')
-rw-r--r--scripts/restore6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/restore b/scripts/restore
index a25bb6f..822f8fc 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -147,6 +147,12 @@ yunohost service add $app-sidekiq
yunohost service add $app-streaming
#=================================================
+# RESTORE THE CRON FILE
+#=================================================
+
+ynh_restore_file "/etc/cron.d/$app"
+
+#=================================================
# GENERIC FINALIZATION
#=================================================
# RELOAD NGINX AND services