| 1 |
--- src/fast_platform.h.template.orig 2023-03-01 14:23:34 UTC |
| 2 |
+++ src/fast_platform.h.template |
| 3 |
@@ -9,19 +9,19 @@ class FastnetmonPlatformConfigurtion { |
| 4 |
std::string fastnetmon_version = "${FASTNETMON_APPLICATION_VERSION}"; |
| 5 |
|
| 6 |
std::string pid_path = "/var/run/fastnetmon.pid"; |
| 7 |
- std::string global_config_path = "/etc/fastnetmon.conf"; |
| 8 |
+ std::string global_config_path = "%%PREFIX%%/etc/fastnetmon.conf"; |
| 9 |
|
| 10 |
std::string log_file_path = "/var/log/fastnetmon.log"; |
| 11 |
std::string attack_details_folder = "/var/log/fastnetmon_attacks"; |
| 12 |
|
| 13 |
// Default path to notify script |
| 14 |
- std::string notify_script_path = "/usr/local/bin/notify_about_attack.sh"; |
| 15 |
+ std::string notify_script_path = "%%PREFIX%%/bin/notify_about_attack.sh"; |
| 16 |
|
| 17 |
// Default path to file with networks for whitelising |
| 18 |
- std::string white_list_path = "/etc/networks_whitelist"; |
| 19 |
+ std::string white_list_path = "%%PREFIX%%/etc/networks_whitelist"; |
| 20 |
|
| 21 |
// Default path to file with all networks listing |
| 22 |
- std::string networks_list_path = "/etc/networks_list"; |
| 23 |
+ std::string networks_list_path = "%%PREFIX%%/etc/networks_list"; |
| 24 |
|
| 25 |
/* Platform specific paths end */ |
| 26 |
}; |