examples: poetry-driven git scripts & aurweb service

This introduces examples of a gunicorn systemd service in
addition to git script wrappers that can be used for poetry
virtualenv-driven installations.

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-17 13:53:43 -08:00
parent 290ef1a2ed
commit e5dfd53b9a
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,6 @@
#!/bin/bash
# Wrapper script used to call aurweb-git-update externally when
# utilizing an app-based virtualenv.
aurweb_dir="$HOME"
cd $aurweb_dir
exec poetry run aurweb-git-serve "$@"