diff --git a/entrypoint.sh b/entrypoint.sh deleted file mode 100755 index d3d3293..0000000 --- a/entrypoint.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -BASE=$(dirname $0) -cd $BASE -git pull -if [ ! -d env ]; -then - python3 -m venv env -fi - -source env/bin/activate -pip3 install -U -r requirements.txt -gunicorn -D --bind 0.0.0.0:8080 --pid /run/webapp.pid wsgi:app diff --git a/webapp.initrc b/webapp.initrc deleted file mode 100755 index d09e210..0000000 --- a/webapp.initrc +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run - -name="webapp" -command="/data/entrypoint.sh" -pidfile="/var/run/$SVCNAME.pid" -command_background="yes" -output_logger="/usr/bin/logger" -error_logger="/usr/bin/logger" - -depend() { - need net - use logger -}