diff options
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 |