Initial commit

This commit is contained in:
2021-12-30 15:34:27 +00:00
commit 54c75ff97b
18 changed files with 1843 additions and 0 deletions

18
systemd/gunicorn.service Normal file
View File

@@ -0,0 +1,18 @@
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
Type=notify
User=motus
RuntimeDirectory=gunicorn
WorkingDirectory=/home/motus/motus_remote/web
ExecStart=/bin/bash -c "/home/motus/.local/bin/pipenv run gunicorn wsgi:app"
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true
[Install]
WantedBy=multi-user.target