From 618ef7473ece388ea51c29c0b7bd7b4b668fea05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 5 Feb 2014 14:09:05 +0100 Subject: [PATCH] - fix user/group in masterd service --- ganeti.spec | 2 +- systemd.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ganeti.spec b/ganeti.spec index 5320b65..4e3cbe9 100644 --- a/ganeti.spec +++ b/ganeti.spec @@ -1,7 +1,7 @@ Summary: Cluster-based virtualization management software Name: ganeti Version: 2.9.3 -Release: 0.2 +Release: 0.3 License: GPL v2 Group: Applications/System Source0: http://downloads.ganeti.org/releases/2.9/%{name}-%{version}.tar.gz diff --git a/systemd.patch b/systemd.patch index c18f5d8..886c710 100644 --- a/systemd.patch +++ b/systemd.patch @@ -60,8 +60,8 @@ http://code.google.com/p/ganeti/issues/detail?id=444 +EnvironmentFile=-/etc/sysconfig/ganeti +ExecStartPre=@PKGLIBDIR@/ensure-dirs +ExecStart=@PREFIX@/sbin/ganeti-masterd $MASTERD_ARGS -+User=@GNTNODEDUSER@ -+Group=@GNTDAEMONSGROUP@ ++User=@GNTMASTERUSER@ ++Group=@GNTMASTERDGROUP@ +PIDFile=@LOCALSTATEDIR@/run/ganeti/ganeti-masterd.pid +# TODO: Should KillMode be process? +KillMode=control-group -- 2.43.0