RELEASE.md: publish into a folder of the share
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c40ca350b6
commit
3c3cd5e719
1 changed files with 4 additions and 3 deletions
|
|
@ -268,12 +268,13 @@ needs no privileges:
|
|||
|
||||
```
|
||||
# /etc/fstab
|
||||
//<server>/<share> /mnt/opnsense-mirror cifs credentials=/home/code/.config/gwmirror/smb-credentials,uid=code,gid=code,vers=3.0,nofail,_netdev 0 0
|
||||
//<server>/<share>/<folder> /mnt/opnsense-mirror cifs credentials=/home/code/.config/gwmirror/smb-credentials,uid=code,gid=code,vers=3.0,nofail,_netdev 0 0
|
||||
```
|
||||
|
||||
`~/.config/gwmirror/smb-credentials` (mode 0600) holds `username=` and
|
||||
`password=` lines. Nothing but the published tree may live at the top of the
|
||||
share: `--delete-after` removes everything else.
|
||||
`password=` lines. The tree goes into a folder of the share (ours: `mirror/`),
|
||||
and nothing else may live in that folder: `--delete-after` removes it. The
|
||||
container's `SMB_SHARE` names the same folder (`<share>/mirror`).
|
||||
|
||||
## Serving the mirror
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue