mount: fix nfs re-mounting
This commit is contained in:
@@ -33,6 +33,6 @@ systemctl daemon-reload
|
||||
|
||||
# systemd can automatically create the "where" dir but the backup logic relies on permissions
|
||||
mkdir -p "${where}"
|
||||
chown yellowtent:yellowtent "${where}"
|
||||
chown yellowtent:yellowtent "${where}" || true # this can fail with nfs+root_squash
|
||||
|
||||
systemctl enable --no-block --now "${mount_filename}" || true
|
||||
|
||||
Reference in New Issue
Block a user