2019-12-13 09:45:10 -06:00
|
|
|
[Unit]
|
|
|
|
Description=Telegram Music Bot
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=david
|
|
|
|
Group=david
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
Type=default
|
2020-04-02 12:36:30 -05:00
|
|
|
WorkingDirectory=/path/to/working/dir
|
|
|
|
ExecStart=/path/to/pipenv/virtualenv/python3 music.py
|
2019-12-13 09:45:10 -06:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|