Add bindmounts.service
This commit is contained in:
parent
a2110354f7
commit
03a7b6cd60
1 changed files with 11 additions and 0 deletions
11
bindmounts.service
Normal file
11
bindmounts.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Bind mounts for containers
|
||||||
|
Requires=zfs.target
|
||||||
|
After=zfs.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/opt/bindmounts.sh up
|
||||||
|
ExecStop=/opt/bindmounts.sh down
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Reference in a new issue