Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Cluster Development (http://www.linux-archive.org/cluster-development/)
-   -   systemd: Add unit file for gfs2-cluster.service (http://www.linux-archive.org/cluster-development/583020-systemd-add-unit-file-gfs2-cluster-service.html)

Steven Whitehouse 10-03-2011 04:46 PM

systemd: Add unit file for gfs2-cluster.service
 
>From 7554ad1216163c60cce26d7cf2b2d2aa05b34170 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <swhiteho@redhat.com>
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 <swhiteho@redhat.com>

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


All times are GMT. The time now is 09:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.