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",
"max_age": 90,
"instances": [
"mastodon.social"
]
"name": "cringebot",
"defaults": {
"tag": "#cringebot",
"app_name": "Cringebot",
"rate_limit": 1,
"poll_interval": 10,
"max_age": 90
},
"clients": {
"mastodon.social": {}
}
}

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

Loading…
Cancel
Save