nixpkgs/pkgs/servers/nfs-ganesha/sysstatedir.patch

23 lines
828 B
Diff
Raw Normal View History

2020-07-09 21:27:39 +00:00
diff --git a/src/include/config-h.in.cmake b/src/include/config-h.in.cmake
2020-12-26 13:22:38 +00:00
index 2a5795e9f..7314e0594 100644
2020-07-09 21:27:39 +00:00
--- a/src/include/config-h.in.cmake
+++ b/src/include/config-h.in.cmake
2020-12-26 13:22:38 +00:00
@@ -71,13 +71,13 @@
#cmakedefine HAVE_URCU_REF_GET_UNLESS_ZERO 1
2020-07-09 21:27:39 +00:00
#define NFS_GANESHA 1
2020-12-26 13:22:38 +00:00
-#define GANESHA_CONFIG_PATH "@SYSCONFDIR@/ganesha/ganesha.conf"
2020-07-09 21:27:39 +00:00
-#define GANESHA_PIDFILE_PATH "@SYSSTATEDIR@/run/ganesha.pid"
-#define NFS_V4_RECOV_ROOT "@SYSSTATEDIR@/lib/nfs/ganesha"
2020-12-26 13:22:38 +00:00
+#define GANESHA_CONFIG_PATH "/etc/ganesha/ganesha.conf"
2020-07-09 21:27:39 +00:00
+#define GANESHA_PIDFILE_PATH "/run/ganesha.pid"
+#define NFS_V4_RECOV_ROOT "/var/lib/nfs/ganesha"
/**
* @brief Default value for krb5_param.ccache_dir
*/
2020-12-26 13:22:38 +00:00
-#define DEFAULT_NFS_CCACHE_DIR "@SYSSTATEDIR@/run/ganesha"
+#define DEFAULT_NFS_CCACHE_DIR "/run/ganesha"
/* We're LGPL'd */
#define _LGPL_SOURCE 1