mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 11:43:00 +00:00
Update cheatsheets
This commit is contained in:
@@ -18,8 +18,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Bind-mount a path as read-only inside the unit:
|
||||
|
||||
`systemctl bind --read-only {{unit}} /{{path/to/host_directory}}`
|
||||
`systemctl bind {{unit}} /{{path/to/host_directory}} --read-only`
|
||||
|
||||
- Create the destination path inside the unit before binding:
|
||||
|
||||
`systemctl bind --mkdir {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}}`
|
||||
`systemctl bind {{unit}} /{{path/to/host_directory}} /{{path/to/unit_directory}} --mkdir`
|
||||
|
||||
Reference in New Issue
Block a user