restart libretranslate when updated
This commit is contained in:
parent
976f237c1f
commit
1039639a16
2 changed files with 2 additions and 3 deletions
|
@ -27,8 +27,6 @@ Then, when you first lauch libretranslate, it downloads all languages packages (
|
|||
## Updating
|
||||
You just need to update the `libretranslate_version` var and to run the role to update.
|
||||
|
||||
If you want to update language models, restart libretranslate service `service libretranslate restart`
|
||||
|
||||
|
||||
## CHANGELOG
|
||||
- **05.12.2023** - Add possibility to choose version and to update models
|
||||
|
|
|
@ -36,4 +36,5 @@
|
|||
state: "latest"
|
||||
become: yes
|
||||
become_user: '{{ libretranslate_user }}'
|
||||
when: libretranslate_installed.stdout != libretranslate_version
|
||||
when: libretranslate_installed.stdout != libretranslate_version
|
||||
notify: restart libretranslate
|
||||
|
|
Loading…
Reference in a new issue