services: Add spacestate->Mastodon service

This commit is contained in:
polyfloyd 2022-12-21 18:58:17 +01:00
parent 75b1fd6946
commit 37c374d0c4
6 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# Managed by Ansible
[Unit]
Description=Bitlair Spacestate propagation to Mastodon
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=10s
ExecStart=/var/lib/mastodon-spacestate/mastodon-spacestate.py
DynamicUser=true
[Install]
WantedBy=multi-user.target