From e33663586aef49bacdf64579ad409c33922993f3 Mon Sep 17 00:00:00 2001 From: "P.J. Finlay" Date: Sat, 17 Jul 2021 14:42:07 +0000 Subject: Improvements --- libretranslate.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libretranslate.service (limited to 'libretranslate.service') diff --git a/libretranslate.service b/libretranslate.service new file mode 100644 index 0000000..9b60f87 --- /dev/null +++ b/libretranslate.service @@ -0,0 +1,13 @@ +[Unit] +Description=LibreTranslate WSGI with Gunicorn and Nginx +After=network.target + +[Service] +User=argosopentech +Group=www-data +WorkingDirectory=/home/argosopentech/LibreTranslate +Environment="PATH=/home/argosopentech/LibreTranslate/env/bin +ExecStart=/home/argosopentech/LibreTranslate/env/bin/gunicorn --workers 3 --bind unix:libretranslate.sock -m 007 wsgi:app + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3