forked from DGNum/infrastructure
fix(radius): Don't lose our shit when copying files
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