Added the service and set it up for use as shoofle.net

This commit is contained in:
Shoofle 2020-12-10 21:41:23 -05:00
parent 8f193e5983
commit 8f2039ab3c
4 changed files with 17 additions and 2 deletions

View File

@ -3,3 +3,5 @@
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. 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. 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.

View File

@ -4,7 +4,7 @@
{% block head %} {% block head %}
<meta charset="utf-8"> <meta charset="utf-8">
<title>{% block title %}Writings by Shoofle{% endblock %}</title> <title>{% block title %}Writings by Shoofle{% endblock %}</title>
<script src="/static/jquery-2.0.3.js" type="text/javascript"></script> <script src="/static/jquery.min.js" type="text/javascript"></script>
<link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"> <link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css"> <link href="/static/bootstrap/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<link href="/static/shoofle.css" rel="stylesheet" type="text/css"> <link href="/static/shoofle.css" rel="stylesheet" type="text/css">

13
auriga.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=The Auriga Webserver
After=network.target
[Service]
User=mrserver
WorkingDirectory=/home/shoofle/auriga
ExecStart=authbind gunicorn -b shoofle.net:80 pure_flask:app
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -1 +1 @@
sudo -u mrserver authbind gunicorn -b li60-203.members.linode.com:80 pure_flask:app sudo -u mrserver authbind gunicorn -b shoofle.net:80 pure_flask:app