umi/umi@.service

14 lines
292 B
SYSTEMD
Raw Permalink Normal View History

2024-12-01 08:13:27 +00:00
[Unit]
Description=Discord bot for logging VC joins and playing music
After=network.target
[Service]
Restart=on-failure
User=discord
WorkingDirectory=/srv/discord/%I
2024-12-01 08:26:53 +00:00
EnvironmentFile=/srv/discord/%I/.env
2024-12-01 08:13:27 +00:00
ExecStart=/srv/discord/.venv/bin/python -u app.py
[Install]
WantedBy=multi-user.target