diff options
author | P.J. Finlay <pjappdevelopment@gmail.com> | 2021-07-17 14:42:07 +0000 |
---|---|---|
committer | P.J. Finlay <pjappdevelopment@gmail.com> | 2021-07-17 14:42:07 +0000 |
commit | e33663586aef49bacdf64579ad409c33922993f3 (patch) | |
tree | 394a06ecbe24cb675c153eeda1202426e8d27b13 /libretranslate.service | |
parent | 9379e37266b4783577a72bab7aca6a9655b04405 (diff) |
Improvements
Diffstat (limited to 'libretranslate.service')
-rw-r--r-- | libretranslate.service | 13 |
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 |