diff options
Diffstat (limited to 'forbidden-salamanders.service')
-rw-r--r-- | forbidden-salamanders.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/forbidden-salamanders.service b/forbidden-salamanders.service new file mode 100644 index 0000000..01a7304 --- /dev/null +++ b/forbidden-salamanders.service @@ -0,0 +1,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 |