[Unit] Description=XMPP preview bot After=prosody.service [Service] DynamicUser=yes WorkingDirectory=/opt/previewbot ExecStart=/usr/bin/python3 previewbot.py [Install] WantedBy=multi-user.target