commit 891f3454ce60c2f83dbfecae0f5cced1f1d6b457
parent 577462379ddb38a4bd1ed3840ad4252acd86961e
Author: Joris Vink <joris@coders.se>
Date: Tue, 5 Aug 2014 13:10:34 +0200
Move the default pid file to kore.pid instead of /var/run/kore.pid
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/conf/kore.conf.example b/conf/kore.conf.example
@@ -21,7 +21,7 @@ workers 4
#worker_rlimit_nofiles 1024
# Store the main process its pid in this file.
-#pidfile /var/run/kore.pid
+#pidfile kore.pid
# HTTP specific settings.
# http_header_max Maximum size of HTTP headers (in bytes).
diff --git a/includes/kore.h b/includes/kore.h
@@ -57,7 +57,7 @@ extern int daemon(int, int);
#define ssl_errno_s ERR_error_string(ERR_get_error(), NULL)
#define KORE_DOMAINNAME_LEN 254
-#define KORE_PIDFILE_DEFAULT "/var/run/kore.pid"
+#define KORE_PIDFILE_DEFAULT "kore.pid"
#define KORE_DEFAULT_CIPHER_LIST "ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!3DES:!MD5:!PSK"
#if defined(KORE_DEBUG)