From ae29d418666101785502d73e40987e7840287a17 Mon Sep 17 00:00:00 2001 From: Thor the Norseman Date: Sat, 5 Dec 2020 10:32:53 +0100 Subject: [PATCH 1/2] Added README.md --- README.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7dc072b --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# fedidel +`fedidel` is a bot that tracks and auto-deletes on Mastodon/Pleroma accounts according to a set maximum age. Tracking multiple instances simultaneously is possible. It will permanently retain statuses favourited by the account that posted them. + +## Installation (Linux) + +#### Obtain root login shell +``` +sudo -i +``` + +#### Download fedidel and make user account +``` +git clone https://git.thj.no/thor/fedidel.git /usr/local/lib/fedidel +useradd -d /usr/local/lib/fedidel -M -s /bin/bash -U fedidel +chown -R fedidel.fedidel /usr/local/lib/fedidel +``` + +#### Create configuration +``` +cd /usr/local/lib/fedidel +cp config.example.json config.json +editor config.json +``` + +#### Install systemd service +``` +ln -s fedidel.service /etc/systemd/system/fedidel.service +systemctl enable fedidel +systemctl start fedidel +``` + +#### Management +``` +# Restart service +systemctl restart fedidel + +# Check service status +systemctl status fedidel + +# Monitor log output +journalctl -t fedidel -f +``` + +## Maintainer + +The maintainer can be contacted at `@thor@pl.thj.no`. \ No newline at end of file From edca13292c0ad6f6cd2b1ef538fdad9e89a2d047 Mon Sep 17 00:00:00 2001 From: Thor the Norseman Date: Sat, 5 Dec 2020 10:45:29 +0100 Subject: [PATCH 2/2] Fleshed out README.md a bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7dc072b..ee03a60 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # fedidel -`fedidel` is a bot that tracks and auto-deletes on Mastodon/Pleroma accounts according to a set maximum age. Tracking multiple instances simultaneously is possible. It will permanently retain statuses favourited by the account that posted them. +`fedidel` is a bot that tracks and auto-deletes on Mastodon/Pleroma accounts according to a set maximum age. Tracking multiple instances simultaneously is possible. It will permanently retain statuses favourited by the account that posted them. Reblogs are treated as favourites and are permanently retained. Once a status is flagged for retention, the bot will not check it again. ## Installation (Linux)