From 27c9c2582c13d8587087eadae1757eba4f5d63f1 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Jun 15 2015 16:51:48 +0000 Subject: sanlock: remove -U and -G from native systemd unit file sanlock now uses the sanlock user and group if it's available on the system, so setting it from the command line is unnecessary. To override the default behavior when using the unit file, set the desired user and group in sanlock.conf. --- diff --git a/init.d/sanlock.service.native b/init.d/sanlock.service.native index b915e92..11e020d 100644 --- a/init.d/sanlock.service.native +++ b/init.d/sanlock.service.native @@ -5,7 +5,7 @@ Wants=wdmd.service [Service] Type=forking -ExecStart=/usr/sbin/sanlock daemon -U sanlock -G sanlock +ExecStart=/usr/sbin/sanlock daemon SendSIGKILL=no [Install]