Дополнил файлы
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Convert Asterisk wav to mp3 for Medods
|
||||||
|
After=medods.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/medods_mp3/venv/bin/python /medods_mp3/main.py
|
||||||
|
WorkingDirectory=/medods_mp3/
|
||||||
|
Restart=always
|
||||||
|
RestartSec=2
|
||||||
|
KillMode=process
|
||||||
|
User=root
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user