From 3a77285e31af04041869dca66642483899234f58 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sun, 22 Jan 2023 22:08:35 +0100 Subject: add examples and wsgi.py Signed-off-by: Olivier Gayot --- examples/autopkgtest-ppas.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 examples/autopkgtest-ppas.service (limited to 'examples/autopkgtest-ppas.service') diff --git a/examples/autopkgtest-ppas.service b/examples/autopkgtest-ppas.service new file mode 100644 index 0000000..5579194 --- /dev/null +++ b/examples/autopkgtest-ppas.service @@ -0,0 +1,11 @@ +[Unit] +Description=A web interface to access PPA autopkgtest runs +After=network.target + +[Service] +WorkingDirectory=/srv/autopkgtest-ppas +ExecStart=/usr/bin/gunicorn -w 4 wsgi:app --bind [::]:80 +Restart=always + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3