From cdde6bd201d0056990510b2c49b48f25ce763f83 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 20 Oct 2022 11:44:41 -0700 Subject: [PATCH] add systemd/jail-mounts.service --- systemd/jail-mounts.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 systemd/jail-mounts.service diff --git a/systemd/jail-mounts.service b/systemd/jail-mounts.service new file mode 100644 index 0000000..0c511a2 --- /dev/null +++ b/systemd/jail-mounts.service @@ -0,0 +1,10 @@ +[Unit] +After=local-fs.target + +[Service] +Type=oneshot +ExecStart=/usr/bin/mount --fstab /etc/fstab.jails --all +ExecStart=/usr/sbin/jk_socketd + +[Install] +WantedBy=default.target