15 lines
299 B
Desktop File
15 lines
299 B
Desktop File
[Unit]
|
|
Description=RouterOS Backup Waitress Service
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=routeros
|
|
Group=routeros
|
|
WorkingDirectory=/opt/routeros_backup
|
|
ExecStart=/opt/routeros_backup/venv/bin/python3 run_waitress.py
|
|
Restart=always
|
|
Environment=PYTHONUNBUFFERED=1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|