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:
parent
b69711d573
commit
d0782a9d04
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ Group=__APP__
|
||||||
Restart=always
|
Restart=always
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
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
|
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
|
# Sandboxing options to harden security
|
||||||
|
|
Loading…
Add table
Reference in a new issue