Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
ntopng
> ntopng-prefix.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File ntopng-prefix.patch of Package ntopng
--- Ntop.cpp.orig 2013-10-05 17:57:04.745252346 +0200 +++ Ntop.cpp 2013-10-05 17:57:23.305254514 +0200 @@ -294,7 +294,7 @@ const char* dirs[] = { startup_dir, #ifndef WIN32 - "/usr/local/share/ntopng", + "/usr/share/ntopng", #else install_dir, #endif --- ntop_defines.h.orig 2013-10-05 18:52:24.422196160 +0200 +++ ntop_defines.h 2013-10-05 19:35:46.257346649 +0200 @@ -88,8 +88,8 @@ #define CONST_DEFAULT_SCRIPTS_DIR "scripts" #define CONST_DEFAULT_CALLBACKS_DIR "scripts/callbacks" #define CONST_DEFAULT_USERS_FILE "ntopng-users.conf" -#define CONST_DEFAULT_WRITABLE_DIR "/var/tmp" -#define CONST_DEFAULT_INSTALL_DIR "/usr/local/share/ntopng" +#define CONST_DEFAULT_WRITABLE_DIR "/var/lib/ntopng" +#define CONST_DEFAULT_INSTALL_DIR "/usr/share/ntopng" #define CONST_DEFAULT_NTOP_USER "nobody" #define PAGE_NOT_FOUND "<html><head><title>ntop</title></head><body><center><img src=/img/warning.png> Page "%s" was not found</body></html>"