>From <ka...@redhat.com>:

ka...@redhat.com has uploaded this change for review. ( 
https://review.gerrithub.io/369601


Change subject: fix nfs-ganesha-config.sh for Debian and Ubuntu
......................................................................

fix nfs-ganesha-config.sh for Debian and Ubuntu

Red Hat type systems have /etc/sysconfig/foo and /run/sysconfig/foo.
Users edit /etc/sysconfig/foo for their site-specific changes.
nfs-ganesha-config.sh reads /etc/sysconfig/ganesha and creates
/run/sysconfig/ganesha. The nfs-ganesha.service file has
  EnvironmentFile=/run/sysconfig/ganesha.

Debian type systems have only /etc/default/foo, which seems to be a hybrid
of /{etc,run}/sysconfig/foo. To obtain the same sort of functionality this
change presumes that a user creates a/etc/ganesha/nfs-ganesha file, which
nfs-ganesha-config.sh will read to produce /etc/default/nfs-ganesha. The
Debian version of the nfs-ganesha.service file has
   EnvironmentFile=/etc/default/nfs-ganesha.

(It does appear to me that the NUMA options won't be added unless the
user has created an (empty) /etc/sysconfig/ganesha or
/etc/ganesha/nfs-ganesha file.)

Change-Id: I1ce0d304eb7df75abed8f46bda235aaec2931546
Signed-off-by: Kaleb S. KEITHLEY <kkeit...@redhat.com>
---
M src/nfs-ganesha.spec-in.cmake
M src/scripts/nfs-ganesha-config.sh
A src/scripts/systemd/nfs-ganesha.service.debian8
R src/scripts/systemd/nfs-ganesha.service.el7
4 files changed, 46 insertions(+), 5 deletions(-)



  git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha 
refs/changes/01/369601/1
-- 
To view, visit https://review.gerrithub.io/369601
To unsubscribe, visit https://review.gerrithub.io/settings

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ce0d304eb7df75abed8f46bda235aaec2931546
Gerrit-Change-Number: 369601
Gerrit-PatchSet: 1
Gerrit-Owner: ka...@redhat.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to