1 2 3 4 5 6 7 8 9 10 11 12
[Unit] Description=forbidden-salamanders After=network.target [Service] Type=simple Restart=on-failure ExecStart=/srv/forbidden-salamanders/venv/bin/waitress-serve --host 127.0.0.1 --port 9010 app:app WorkingDirectory=/srv/forbidden-salamanders/ [Install] WantedBy=multi-user.target