ansible/roles/services/templates/mastodon-spacestate.service

16 lines
325 B
Desktop File

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