главная|main page

состояние|status

блог|blog

файлы|files

программы|software

summaryrefslogtreecommitdiff
path: root/libretranslate.service
diff options
context:
space:
mode:
authorP.J. Finlay <pjappdevelopment@gmail.com>2021-07-17 14:42:07 +0000
committerP.J. Finlay <pjappdevelopment@gmail.com>2021-07-17 14:42:07 +0000
commite33663586aef49bacdf64579ad409c33922993f3 (patch)
tree394a06ecbe24cb675c153eeda1202426e8d27b13 /libretranslate.service
parent9379e37266b4783577a72bab7aca6a9655b04405 (diff)
Improvements
Diffstat (limited to 'libretranslate.service')
-rw-r--r--libretranslate.service13
1 files changed, 13 insertions, 0 deletions
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