diff --git a/bindmounts.service b/bindmounts.service new file mode 100644 index 0000000..64f8b57 --- /dev/null +++ b/bindmounts.service @@ -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 \ No newline at end of file