Added the service and set it up for use as shoofle.net
This commit is contained in:
parent
8f193e5983
commit
8f2039ab3c
@ -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.
|
||||
|
||||
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.
|
||||
|
@ -4,7 +4,7 @@
|
||||
{% block head %}
|
||||
<meta charset="utf-8">
|
||||
<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-responsive.css" rel="stylesheet" type="text/css">
|
||||
<link href="/static/shoofle.css" rel="stylesheet" type="text/css">
|
||||
|
13
auriga.service
Normal file
13
auriga.service
Normal 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user