removed obsolete files
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user