15 lines
244 B
Desktop File
15 lines
244 B
Desktop File
[Unit]
|
|
Description=Telegram Music Bot
|
|
|
|
[Service]
|
|
User=david
|
|
Group=david
|
|
Restart=always
|
|
RestartSec=10
|
|
Type=default
|
|
WorkingDirectory=/path/to/working/dir
|
|
ExecStart=/path/to/pipenv/virtualenv/python3 music.py
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|