diff options
Diffstat (limited to 'lava-master')
-rwxr-xr-x | lava-master/entrypoint.d/01_setup.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lava-master/entrypoint.d/01_setup.sh b/lava-master/entrypoint.d/01_setup.sh index e3619f7..ad84072 100755 --- a/lava-master/entrypoint.d/01_setup.sh +++ b/lava-master/entrypoint.d/01_setup.sh @@ -217,4 +217,7 @@ if [ -e /etc/lava-dispatcher/certificates.d/$(hostname).key ];then sed -i 's,.*ENCRYPT=.*,ENCRYPT="--encrypt",' /etc/lava-server/lava-logs || exit $? sed -i 's,.*MASTER_CERT=.*,MASTER_CERT="--master-cert /etc/lava-dispatcher/certificates.d/$(hostname).key_secret",' /etc/lava-server/lava-logs || exit $? fi + +echo "DEBUG: fix owning rights on /etc/lava-server/dispatcher-config" +chown -Rc lavaserver:lavaserver /etc/lava-server/dispatcher-config exit 0 |