fix(radius): Don't lose our shit when copying files
All checks were successful
build configuration / build_rescue01 (push) Successful in 1m2s
build configuration / build_web02 (push) Successful in 1m3s
build configuration / build_storage01 (push) Successful in 1m6s
build configuration / build_vault01 (push) Successful in 1m8s
build configuration / build_compute01 (push) Successful in 1m12s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m44s
All checks were successful
build configuration / build_rescue01 (push) Successful in 1m2s
build configuration / build_web02 (push) Successful in 1m3s
build configuration / build_storage01 (push) Successful in 1m6s
build configuration / build_vault01 (push) Successful in 1m8s
build configuration / build_compute01 (push) Successful in 1m12s
lint / check (push) Successful in 23s
build configuration / build_web01 (push) Successful in 1m44s
This commit is contained in:
parent
e2cb4a7dca
commit
9eb89a03ab
1 changed files with 4 additions and 2 deletions
|
@ -106,8 +106,10 @@ in
|
|||
wants = [ "network.target" ];
|
||||
|
||||
preStart = ''
|
||||
cp -R ${cfg.freeradius}/etc/raddb/* ${cfg.configDir}
|
||||
cp -R ${rlm_python}/etc/raddb/* ${cfg.configDir}
|
||||
mkdir -p ${cfg.configDir}
|
||||
|
||||
cp -R --no-preserve=mode ${cfg.freeradius}/etc/raddb/* ${cfg.configDir}
|
||||
cp -R --no-preserve=mode ${rlm_python}/etc/raddb/* ${cfg.configDir}
|
||||
|
||||
chmod -R u+w ${cfg.configDir}
|
||||
|
||||
|
|
Loading…
Reference in a new issue