If I want to add option to update models in systemd, I just need to do the following, right?
[Unit]
Description=Libretranslate to translate words, sentences and files
Documentation=https://github.com/LibreTranslate/LibreTranslate
Requires=network.target
After=network.target
[Service]
Environment="LT_UPDATE_MODELS"
Type=simple
User=myuser
ExecStart=/path/to/bin/python3 libretranslate
WorkingDirectory=/path/to/bin
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
Thanks a lot!