add services

This commit is contained in:
fade 2022-08-25 19:34:01 -04:00
parent fe88a07676
commit f013670852
4 changed files with 53 additions and 8 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Mastodon group bot which reposts toots
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/mastodon-group-bot -config /etc/mastodon-group-bot.json
[Install]
WantedBy=multi-user.target