hosts_app/hosts_app.service
Mateusz Gruszczyński 7697fed0cb refactor
2025-02-24 23:11:29 +01:00

13 lines
276 B
Desktop File

[Unit]
Description=.etc.hosts Manager Waitress Service
After=network.target
[Service]
WorkingDirectory=/opt/hosts_app
ExecStart=/opt/hosts_app/venv/bin/python3 /opt/hosts_app/run_waitress.py
Restart=always
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target