aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2010-03-25 22:38:13 -0700
committerJustin Pettit <jpettit@nicira.com>2010-03-26 14:40:31 -0700
commitbc39196036f8e33d15274855087f0c47be2095ee (patch)
tree5102d7683bf3b113ba0a73de3487ec6f86e38be2 /m4
parent16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5 (diff)
Cleanup default file locations and XenServer packaging
This commit cleans up the locations of a number of files and directories used. These include: - Config file lives in /etc/openvswitch/conf.db - Logs go into /var/log/openvswitch - ovsdb-server socket is /var/run/openvswitch/db.sock - Schema goes into /usr/share/openvswitch/vswitch.ovsschema - PID files go in /var/run/openvswitch For XenServer, these additional changes are made: - Cores go in /var/xen/openvswitch - OVS binaries run in /var/xen/openvswitch In addition, it attempts to cleanup the XenServer packaging. This includes referring to the project as "openvswitch" as opposed to the somewhat presumptuous "vswitch". Note: Changes to the Debian packaging will be forthcoming.
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index ccb3a014..58e4b64e 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -113,9 +113,10 @@ AC_DEFUN([OVS_CHECK_RUNDIR],
[AC_ARG_WITH(
[rundir],
AC_HELP_STRING([--with-rundir=DIR],
- [directory used for pidfiles [[LOCALSTATEDIR/run]]]),
+ [directory used for pidfiles
+ [[LOCALSTATEDIR/run/openvswitch]]]),
[RUNDIR=$withval],
- [RUNDIR='${localstatedir}/run'])
+ [RUNDIR='${localstatedir}/run/openvswitch'])
AC_SUBST([RUNDIR])])
dnl Checks for the directory in which to store logs.