From bc704038599b77bfaf6cf074237ce2e90d0ca737 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Sun, 20 Nov 2022 23:47:47 +0200 Subject: [PATCH] Adding uwsgi ini --- boop.ini | 12 ++++++++++++ services/boop.icu.service | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 boop.ini diff --git a/boop.ini b/boop.ini new file mode 100644 index 0000000..237d743 --- /dev/null +++ b/boop.ini @@ -0,0 +1,12 @@ +[uwsgi] +wsgi-file = fhost.py +callable = app + +master = true +processes = 5 + +socket = boop.icu.sock +chmod-socket = 666 +vacuum = true + +die-on-term = true diff --git a/services/boop.icu.service b/services/boop.icu.service index 7483e2a..78a7cc3 100644 --- a/services/boop.icu.service +++ b/services/boop.icu.service @@ -6,7 +6,7 @@ After=network.target User=boop Group=http WorkingDirectory=/opt/boop -ExecStart=/opt/boop/.local/bin/uwsgi --ini /opt/boop/boop.icu.ini --enable-threads +ExecStart=/opt/boop/.local/bin/uwsgi --ini /opt/boop/boop.ini --enable-threads [Install] WantedBy=multi-user.target