home · contact · privacy
Fix faulty filename as per systemd unit file reference.
[config] / bullseye / other_files / prune_microblog.sh
diff --git a/bullseye/other_files/prune_microblog.sh b/bullseye/other_files/prune_microblog.sh
deleted file mode 100644 (file)
index 8cfc385..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-set -e
-set -x
-service microblogpub stop
-microblogdir=/home/plom/testing.microblog.pub
-cd "${microblogdir}"
-cp -r data/microblogpub.db data/microblogpub.db.bak.$(date +%a)
-su -lc "cd ${microblogdir} && poetry run inv prune-old-data" - plom
-service microblogpub start
-echo "last microblog pruning at $(date)" >> /home/plom/prune_log.txt