aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryalh76 <yalh@yahoo.com>2022-02-16 19:52:52 +0100
committerGitHub <noreply@github.com>2022-02-16 19:52:52 +0100
commitf2758fdec72be4e09107228591fb318fca2f9ab4 (patch)
treefce0b588cbac4714daca4ddb55a59cbe95506074
parent05c33a82380d8b86a0f9f611c1ea15fa89c9147b (diff)
parent05d5eedfe64f93344241c78ca24900b5929781f6 (diff)
downloadmastodon_ynh-f2758fdec72be4e09107228591fb318fca2f9ab4.tar.gz
mastodon_ynh-f2758fdec72be4e09107228591fb318fca2f9ab4.tar.bz2
mastodon_ynh-f2758fdec72be4e09107228591fb318fca2f9ab4.zip
Merge pull request #307 from YunoHost-Apps/testing
fix: add a missing user field in cron file (aka fix the cron again o/)
-rw-r--r--README.md2
-rw-r--r--README_fr.md2
-rw-r--r--conf/cron12
-rw-r--r--manifest.json2
4 files changed, 10 insertions, 8 deletions
diff --git a/README.md b/README.md
index 5968c7a..5503cbb 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Mastodon is a free, open-source microblogging social network. It is a decentralized alternative to commercial platforms like Twitter and avoids the risks of a single company monopolizing your communication for commercial purposes.
-**Shipped version:** 3.4.6~ynh1
+**Shipped version:** 3.4.6~ynh2
**Demo:** https://joinmastodon.org/
diff --git a/README_fr.md b/README_fr.md
index 25dec48..bf67819 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -14,7 +14,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
Mastodon est un réseau social de microblog auto-hébergé et open source. C'est une alternative décentralisée aux plates-formes commerciales comme Twitter. Mastodon évite ainsi les risques qu'une seule société monopolise votre communication à des fins commerciales.
-**Version incluse :** 3.4.6~ynh1
+**Version incluse :** 3.4.6~ynh2
**Démo :** https://joinmastodon.org/
diff --git a/conf/cron b/conf/cron
index c5f1af0..339d3c4 100644
--- a/conf/cron
+++ b/conf/cron
@@ -1,5 +1,7 @@
-@daily cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
-@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
-@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
-@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove
-@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove
+# This is a system cron file, see crontab(5)
+# m h dom mon dow user command
+@daily __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove
+@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans
+@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull
+@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove
+@monthly __APP__ cd __FINAL_PATH__/live && __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove
diff --git a/manifest.json b/manifest.json
index 8f8e892..03f1997 100644
--- a/manifest.json
+++ b/manifest.json
@@ -6,7 +6,7 @@
"en": "Libre and federated social network",
"fr": "Réseau social libre et fédéré"
},
- "version": "3.4.6~ynh1",
+ "version": "3.4.6~ynh2",
"url": "https://github.com/mastodon/mastodon",
"upstream": {
"license": "AGPL-3.0-or-later",