fix(vendor.viomi): Set correct env variables (#979)

procd_set_param env takes many variables in the shape of key=value
This commit is contained in:
darkjavi 2021-07-07 17:51:58 +02:00 committed by GitHub
parent 01486b8029
commit 5fd4a6a618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,8 +35,7 @@ start_service() {
_fix_timezone
procd_open_instance
procd_set_param env VALETUDO_CONFIG_PATH=/mnt/UDISK/valetudo_config.json
procd_set_param env VALETUDO_SSH_AUTHORIZED_KEYS_LOCATION=/etc/dropbear/authorized_keys
procd_set_param env VALETUDO_CONFIG_PATH=/mnt/UDISK/valetudo_config.json VALETUDO_SSH_AUTHORIZED_KEYS_LOCATION=/etc/dropbear/authorized_keys
procd_set_param oom_adj $OOM_ADJ
procd_set_param command $PROG
procd_set_param stdout 1 # forward stdout of the command to logd