15 lines
272 B
SYSTEMD
15 lines
272 B
SYSTEMD
|
[Unit]
|
||
|
Description=Telegram Music Bot
|
||
|
|
||
|
[Service]
|
||
|
User=david
|
||
|
Group=david
|
||
|
Restart=always
|
||
|
RestartSec=10
|
||
|
Type=default
|
||
|
WorkingDirectory=/home/david/tmusic
|
||
|
ExecStart=/home/david/.local/share/virtualenvs/tmusic-l3mWxOyb/bin/python3 music.py
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|