aurweb/examples/aurweb-git-serve.sh
Kevin Morris e5dfd53b9a
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>
2022-01-17 14:05:39 -08:00

6 lines
185 B
Bash

#!/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 "$@"