Changed default and fallback host_dir

Have to change them since we are trying to resolve system services and the system services are in the /var/lib/faasd/hosts file instead of /var/lib/faasd-provider/hosts file.

Signed-off-by: Shikachuu <zcmate@gmail.com>
This commit is contained in:
Shikachuu
2021-08-28 14:01:22 +02:00
committed by Alex Ellis
parent 5ac51663da
commit b8ada0d46b
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Description=faasd-provider
MemoryLimit=500M
Environment="secret_mount_path={{.SecretMountPath}}"
Environment="basic_auth=true"
Environment="hosts_dir=/var/lib/faasd-provider"
Environment="hosts_dir=/var/lib/faasd"
ExecStart=/usr/local/bin/faasd provider
Restart=on-failure
RestartSec=10s