From: Steven Whitehouse Date: Mon, 03 Oct 2011 17:46:15 +0100 Subject: [Cluster-devel] systemd: Add unit file for gfs2-cluster.service Message-ID: <1317660375.2714.10.camel@menhir> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From 7554ad1216163c60cce26d7cf2b2d2aa05b34170 Mon Sep 17 00:00:00 2001 From: Steven Whitehouse Date: Mon, 3 Oct 2011 17:43:11 +0100 Subject: systemd: Add unit file for gfs2-cluster.service I've left the gfs2 service for the time being. That one should vanish if systemd's dependency system is working as expected. Signed-off-by: Steven Whitehouse diff --git a/gfs2/system/gfs2-cluster.service b/gfs2/system/gfs2-cluster.service new file mode 100644 index 0000000..78c0a83 --- /dev/null +++ b/gfs2/system/gfs2-cluster.service @@ -0,0 +1,8 @@ +[Unit] +Description=Starts and stops gfs_controld for dlm based GFS2 filesystems +After=syslog.target cman.target network.target +[Service] +Type=forking +ExecStart=/usr/sbin/gfs_controld $OPTIONS +[Install] +WantedBy=multi-user.target -- 1.7.4.4