From 2c6687412581c12ddad2a236890bf3abc905ac80 Mon Sep 17 00:00:00 2001 From: shoofle Date: Tue, 15 Dec 2020 12:39:34 -0500 Subject: [PATCH] removed the old start scripts. running services now, baybee! --- README.md | 5 ++--- gunicorn_server_start | 1 - start_in_screen.sh | 12 ------------ 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100755 gunicorn_server_start delete mode 100755 start_in_screen.sh diff --git a/README.md b/README.md index c7b1da3..19a5316 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ -# This is my server! It's not much, but it's mine. - +# This is my server! It's not much, but it's mine. It runs on flask. It's kinda messy! This is one project I'm working on strictly for results - I just want to post stuff as easily as possible, with as little hassle as possible (but avoiding having to use PHP). There might be some slightly-more-complicated stuff in here using blueprints or subapplications, so that I can extend things! It's not done, though. Poke. Poke. -I made a service file for use with systemd finally! It'll make it so that it'll automatically start when the server starts. +I made a service file for use with systemd finally! It'll make it so that it'll automatically start when the server starts. That lives in `auriga.service`. It also has the `gunicorn` command for starting the server. I've removed the old hacky start script that kept it; if you want to run it locally, you should be able to just run `pure_flask.py`. If you need to run it manually, just copy and paste it from `auriga.service`. But don't do that. Just use `systemd`. diff --git a/gunicorn_server_start b/gunicorn_server_start deleted file mode 100755 index c93aed3..0000000 --- a/gunicorn_server_start +++ /dev/null @@ -1 +0,0 @@ -sudo -u mrserver authbind gunicorn -b shoofle.net:80 pure_flask:app diff --git a/start_in_screen.sh b/start_in_screen.sh deleted file mode 100755 index 675998d..0000000 --- a/start_in_screen.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -name_of_screen="auriga" - -if screen -S $name_of_screen -X select .; then - echo "a screen session was found" -else - echo "a screen session was not found; making one now" - screen -Udm -S $name_of_screen -fi - -screen -S $name_of_screen -X stuff $'./gunicorn_server_start\n'