diff --git a/umi@.service b/umi@.service new file mode 100644 index 0000000..d47d04e --- /dev/null +++ b/umi@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Discord bot for logging VC joins and playing music +After=network.target + +[Service] +Restart=on-failure +User=discord +WorkingDirectory=/srv/discord/%I +ExecStart=/srv/discord/.venv/bin/python -u app.py + +[Install] +WantedBy=multi-user.target