Skip to content

Instantly share code, notes, and snippets.

@nyx-rattapoom
Last active January 7, 2023 15:48
Show Gist options
  • Save nyx-rattapoom/1cdae2f2bb5d0b90ca403986565c69ab to your computer and use it in GitHub Desktop.
Save nyx-rattapoom/1cdae2f2bb5d0b90ca403986565c69ab to your computer and use it in GitHub Desktop.
docker start after disk mounted
when mount disk on /mnt
let get service name from command `sudo systemctl | grep mnt`
sudo systemctl edit docker.service
```
[Unit]
Requires=mnt-external.mount mnt-storage.mount
After=mnt-external.mount mnt-storage.mount
```
@nyx-rattapoom
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment