mirror of
https://github.com/vale981/phoebe
synced 2025-03-04 09:21:40 -05:00
backups: no need to recursively apply ownership/mode changes
Also, once the backup grows too large, the systemd service will timeout in the startup phase while applying the ownership changes.
This commit is contained in:
parent
374abe15ca
commit
81e1aba674
1 changed files with 2 additions and 2 deletions
|
@ -119,8 +119,8 @@ let
|
|||
|
||||
preStart = ''
|
||||
mkdir -p "${opts.localdir}"
|
||||
chown -R ${cfg.user}:${cfg.group} "${opts.localdir}"
|
||||
chmod -R 0700 "${opts.localdir}"
|
||||
chown ${cfg.user}:${cfg.group} "${opts.localdir}"
|
||||
chmod 0700 "${opts.localdir}"
|
||||
'';
|
||||
|
||||
script = ''
|
||||
|
|
Loading…
Add table
Reference in a new issue