Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-04-30 10:09:14 +00:00
3 changed files with 8 additions and 6 deletions

View File

@@ -1 +1 @@
DIST hin9-v0.9.2.tar.gz 65277 BLAKE2B 64f68db310ddd9438bd2b0247a285a9f7c4b162bfb105802760e4a231693116d159aaa4052d9c596356a2a6768379033b0bc1334a4da9ec9c845a1c835965922 SHA512 1ce3fd028e32be3daabf0b743c1005e9670df4f704c862aa871418dcb877d1780c174ae1c054be06bea62600e573a9ef80e67e4759c6722f9e25f3d656faa431
DIST hin9-v0.9.3.tar.gz 65343 BLAKE2B 4b475f8088aa113ae7dbd2cfe091ee10efb39d60b7277cb821eb010e752b39adf5e2a3c53aedc73c612ed4ba3d96178c09f255b9a07caf64b9cad34af2da5841 SHA512 768f0e55c2992b0ce50187a62e4c75ae2c2e2c31067d77898d221ad89afba20a3121853f01267bf6f1e43942ddca273bfed6c63849ce922c9c9d2c971a9061e0

View File

@@ -1,21 +1,23 @@
diff --git a/src/hin/conf.h b/src/hin/conf.h
index c4f7f4c..23b0714 100644
index 8dfe060..3874d6c 100644
--- a/src/hin/conf.h
+++ b/src/hin/conf.h
@@ -2,9 +2,9 @@
@@ -2,10 +2,10 @@
#ifndef HIN_CONF_H
#define HIN_CONF_H
-#define HIN_CONF_PATH "workdir/main.lua"
-#define HIN_LOGDIR_PATH "build/"
-#define HIN_CWD_PATH "./"
-#define HIN_WORKDIR_PATH "./"
-#define HIN_PRINT_GREETING 1
+#define HIN_CONF_PATH "/etc/hinsightd/hinsightd.lua"
+#define HIN_LOGDIR_PATH "/var/log/hinsightd/"
+#define HIN_CWD_PATH "/var/www/localhost/"
+#define HIN_WORKDIR_PATH "/var/www/localhost/"
+#define HIN_PRINT_GREETING 0
#define HIN_URING_QUEUE_DEPTH 256
#define HIN_URING_DONT_FORK 0
@@ -20,8 +20,8 @@
@@ -21,8 +21,8 @@
#define HIN_HTTPD_MAX_HEADER_LINE_SIZE 4096
#define HIN_HTTPD_MAX_POST_SIZE 4121440
#define HIN_HTTPD_MAX_DEFLATE_SIZE 0