-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9a002b4
commit 74f374e
Showing
3 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
diff -Naur onvif_simple_server.ori/onvif_notify_server.c onvif_simple_server/onvif_notify_server.c | ||
--- onvif_simple_server.ori/onvif_notify_server.c 2023-12-09 22:58:35.403631631 +0100 | ||
+++ onvif_simple_server/onvif_notify_server.c 2023-12-09 22:59:34.011730308 +0100 | ||
@@ -39,10 +39,10 @@ | ||
#include "log.h" | ||
#include "onvif_simple_server.h" | ||
|
||
-#define DEFAULT_CONF_FILE "/etc/onvif_simple_server.conf" | ||
-#define DEFAULT_LOG_FILE "/var/log/onvif_notify_server.log" | ||
+#define DEFAULT_CONF_FILE "/usr/local/etc/onvif_simple_server.conf" | ||
+#define DEFAULT_LOG_FILE "/var/log/onvif_notify_server.log" | ||
#define DEFAULT_PID_FILE "/var/run/onvif_notify_server.pid" | ||
-#define TEMPLATE_DIR "/etc/onvif_notify_server" | ||
+#define TEMPLATE_DIR "/usr/local/etc/onvif_notify_server" | ||
#define INOTIFY_DIR "/tmp/onvif_notify_server" | ||
|
||
#define ALARM_OFF 0 | ||
diff -Naur onvif_simple_server.ori/onvif_simple_server.c onvif_simple_server/onvif_simple_server.c | ||
--- onvif_simple_server.ori/onvif_simple_server.c 2023-12-09 22:57:18.935503114 +0100 | ||
+++ onvif_simple_server/onvif_simple_server.c 2023-12-09 23:00:26.871819429 +0100 | ||
@@ -36,8 +36,8 @@ | ||
#include "utils.h" | ||
#include "log.h" | ||
|
||
-#define DEFAULT_CONF_FILE "/etc/onvif_simple_server.conf" | ||
-#define DEFAULT_LOG_FILE "/var/log/onvif_simple_server.log" | ||
+#define DEFAULT_CONF_FILE "/usr/local/etc/onvif_simple_server.conf" | ||
+#define DEFAULT_LOG_FILE "/var/log/onvif_simple_server.log" | ||
#define DEBUG_FILE "/tmp/onvif_simple_server.debug" | ||
|
||
#define ROTATION_LOG_LENGTH 3 | ||
diff -Naur onvif_simple_server.ori/wsd_simple_server.c onvif_simple_server/wsd_simple_server.c | ||
--- onvif_simple_server.ori/wsd_simple_server.c 2023-12-09 22:57:18.935503114 +0100 | ||
+++ onvif_simple_server/wsd_simple_server.c 2023-12-09 23:01:06.899886974 +0100 | ||
@@ -38,8 +38,8 @@ | ||
#define PORT 3702 | ||
#define TYPE "NetworkVideoTransmitter" | ||
|
||
-#define DEFAULT_LOG_FILE "/var/log/wsd_simple_server.log" | ||
-#define TEMPLATE_DIR "/etc/wsd_simple_server" | ||
+#define DEFAULT_LOG_FILE "/var/log//wsd_simple_server.log" | ||
+#define TEMPLATE_DIR "/usr/local/etc/etc/wsd_simple_server" | ||
|
||
#define RECV_BUFFER_LEN 4096 | ||
|