fix cron on start, move from nicorn to waitress

This commit is contained in:
Mateusz Gruszczyński
2025-02-24 08:53:06 +01:00
parent 972e7c61cd
commit 8dd96a68f2
4 changed files with 53 additions and 10 deletions

View File

@ -3,10 +3,10 @@ Description=RouterOS Backup Waitress Service
After=network.target
[Service]
User=routeros
Group=routeros
#User=routeros
#Group=routeros
WorkingDirectory=/opt/routeros_backup
ExecStart=/opt/routeros_backup/venv/bin/python3 run_waitress.py
ExecStart=/opt/routeros_backup/venv/bin/python3 /opt/routeros_backup/run_waitress.py
Restart=always
Environment=PYTHONUNBUFFERED=1