aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/r2e/install.sh
blob: f4cbd0a1f25c4db45375f766ff05a7bd97cbadb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

if ! command -v "r2e" >/dev/null; then
	printf "%s: r2e not found, skipping...\n" "$0"
	exit 0
fi

printf "%s: Installing services\n" "$0"

systemctl --user enable --now --no-block rss2email.timer
systemctl --user start --no-block rss2email.service