From d0782a9d04574457061f8a05ff36a9f94adc39de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 2 May 2023 10:19:20 +0200 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/systemd.service b/conf/systemd.service index 2e19909..c2df2df 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,6 +9,7 @@ Group=__APP__ Restart=always Type=simple WorkingDirectory=__INSTALL_DIR__ +Environment="__YNH_NODE_LOAD_PATH__:__INSTALL_DIR__/.local/bin" ExecStart=__INSTALL_DIR__/venv/bin/libretranslate --host 127.0.0.1 --port __PORT__ --load-only en,fr --frontend-language-target en # Sandboxing options to harden security