summaryrefslogtreecommitdiff
path: root/lib/dirs.h
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 /lib/dirs.h
parent16f2ae571fc7d21f13c9ddbe4e948d8f35552ae5 (diff)
downloadopenvswitch-bc39196036f8e33d15274855087f0c47be2095ee.tar.gz
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 'lib/dirs.h')
-rw-r--r--lib/dirs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dirs.h b/lib/dirs.h
index 5e2610590..ea5e3b5da 100644
--- a/lib/dirs.h
+++ b/lib/dirs.h
@@ -18,8 +18,8 @@
#define DIRS_H 1
extern const char ovs_pkgdatadir[]; /* /usr/local/share/openvswitch */
-extern const char ovs_rundir[]; /* /usr/local/var/run */
-extern const char ovs_logdir[]; /* /usr/local/var/log */
+extern const char ovs_rundir[]; /* /usr/local/var/run/openvswitch */
+extern const char ovs_logdir[]; /* /usr/local/var/log/openvswitch */
extern const char ovs_bindir[]; /* /usr/local/bin */
#endif /* dirs.h */