Updated config files to reflect new name

master
Thor 3 years ago
parent c7a86454bc
commit 047c57a32d
  1. 16
      config.json.example
  2. 10
      cringebot.service

@ -1,7 +1,13 @@
{ {
"tag": "#cringefilter", "name": "cringebot",
"max_age": 90, "defaults": {
"instances": [ "tag": "#cringebot",
"mastodon.social" "app_name": "Cringebot",
] "rate_limit": 1,
"poll_interval": 10,
"max_age": 90
},
"clients": {
"mastodon.social": {}
}
} }

@ -1,12 +1,12 @@
[Unit] [Unit]
Description=Fediverse Cringe Filter Description=Fediverse Cringe Bot
[Service] [Service]
User=cringefilter User=cringebot
WorkingDirectory=/usr/local/lib/cringefilter WorkingDirectory=/usr/local/lib/cringebot
ExecStart=/usr/bin/python3 /usr/local/lib/cringefilter/cringefilter.py ExecStart=/usr/bin/python3 /usr/local/lib/cringebot/cringebot.py
Environment=PYTHONUNBUFFERED=1 Environment=PYTHONUNBUFFERED=1
SyslogIdentifier=cringefilter SyslogIdentifier=cringebot
Restart=always Restart=always
[Install] [Install]

Loading…
Cancel
Save