summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 22:08:35 +0100
committerOlivier Gayot <olivier.gayot@sigexec.com>2023-01-22 22:08:35 +0100
commit3a77285e31af04041869dca66642483899234f58 (patch)
tree45b19bb4448c15ffa2d79c2c33f8bffa6c6012c0 /examples
parentf363258ec1cce5385a56a22e2ac69e7dcec65d4f (diff)
add examples and wsgi.py
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/autopkgtest-ppas.service11
1 files changed, 11 insertions, 0 deletions
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