Commit 0d8b8851 authored by Lukas Böhm's avatar Lukas Böhm
Browse files

contabo server ready

parent 80c0784b
......@@ -6,3 +6,4 @@ Eine Tolle Webapp zum Austausch von Dateien
`docker build -t chiefsend:latest .`
`docker-compose up`
[Unit]
Description=Chiefsend rq worker
Description=Chiefsend rq-worker
[Service]
Type=simple
WorkingDirectory=/home/pi/chiefsend
ExecStart=/home/pi/chiefsend/venv/bin/rq worker --with-scheduler
WorkingDirectory=/home/chief/chiefsend
ExecStart=/home/chief/chiefsend/venv/bin/rq worker --with-scheduler
Restart=on-failure
[Install]
......
......@@ -3,8 +3,8 @@ Description=Chiefsend Web Service gunicorn Worker
[Service]
Type=simple
WorkingDirectory=/home/pi/chiefsend
ExecStart=/home/pi/chiefsend/venv/bin/gunicorn -b :5000 --workers=3 --timeout=90 --graceful-timeout=30 --log-level=DEBUG --access-logfile - --error-logfile - chiefsend:app
WorkingDirectory=/home/chief/chiefsend
ExecStart=/home/chief/chiefsend/venv/bin/gunicorn -b :5000 --workers=3 --timeout=90 --graceful-timeout=30 --log-level=DEBUG --access-logfile - --error-logfile - chiefsend:app
Restart=on-failure
[Install]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment