Add systemd template service unit

This commit is contained in:
a 2024-12-01 08:13:27 +00:00
parent 1bc39bc8c9
commit daadc9c82d

12
umi@.service Normal file
View file

@ -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