From 03a7b6cd608257c98ab28d8be7235625f980802b Mon Sep 17 00:00:00 2001 From: hhf Date: Sun, 8 Dec 2024 08:32:43 +0530 Subject: [PATCH] Add bindmounts.service --- bindmounts.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bindmounts.service 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