summarylogtreecommitdiffstats
path: root/reddit-placebot.install
blob: 79484e51b301cf493728753560a2119eeafc7f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
post_install() {
	cat <<EOF

Create a file users.json in ~/.config/reddit-placebot/users.json as follows:

{
  "YourRedditUserName": "YourRedditPassword",
  "OtherAccount": "OtherPassword",
  "MoreThrowaways": "MorePasswords"
}


then start the service using
	
	systemctl --user start reddit-placebot

and monitor the output using

	journalctl --user --follow --unit reddit-placebot
EOF

}

post_upgrade() {
  post_install
}