Move the default pid file to kore.pid instead of /var/run/kore.pid

This commit is contained in:
Joris Vink 2014-08-05 13:10:34 +02:00
parent 577462379d
commit 891f3454ce
2 changed files with 2 additions and 2 deletions

View File

@ -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).

View File

@ -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)