diff --git a/previewbot.service b/previewbot.service new file mode 100644 index 0000000..1504d53 --- /dev/null +++ b/previewbot.service @@ -0,0 +1,12 @@ +[Unit] +Description=XMPP preview bot +After=prosody.service + +[Service] +User=nobody +Group=nobody +WorkingDirectory=/opt/previewbot +ExecStart=/usr/bin/python3 previewbot.py + +[Install] +WantedBy=multi-user.target