13 lines
276 B
Desktop File
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
|