1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libretranslate_ynh.git synced 2024-09-03 19:36:00 +02:00

Update systemd.service

This commit is contained in:
Éric Gaspar 2023-05-02 10:19:20 +02:00
parent b69711d573
commit d0782a9d04

View file

@ -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