commit b27322933b426ce7fd7dd89eb5a5c5f5c7d62424
parent 891f3454ce60c2f83dbfecae0f5cced1f1d6b457
Author: Joris Vink <joris@coders.se>
Date: Tue, 5 Aug 2014 13:11:53 +0200
The default pid file is kore.pid so no need to set that explicitely
Diffstat:
8 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/examples/generic/conf/generic.conf b/examples/generic/conf/generic.conf
@@ -1,8 +1,6 @@
# Placeholder configuration
bind 127.0.0.1 8888
-pidfile kore.pid
-
load ./generic.so example_load
validator v_example function v_example_func
diff --git a/examples/headers/conf/headers.conf b/examples/headers/conf/headers.conf
@@ -1,7 +1,6 @@
# Placeholder configuration
bind 127.0.0.1 8888
-pidfile kore.pid
load ./headers.so
domain 127.0.0.1 {
diff --git a/examples/integers/conf/integers.conf b/examples/integers/conf/integers.conf
@@ -1,7 +1,6 @@
# Placeholder configuration
bind 127.0.0.1 8888
-pidfile kore.pid
load ./integers.so
validator v_id regex ^-?[0-9]*$
diff --git a/examples/json_yajl/conf/json_yajl.conf b/examples/json_yajl/conf/json_yajl.conf
@@ -1,7 +1,6 @@
# Placeholder configuration
bind 127.0.0.1 8888
-pidfile kore.pid
load ./json_yajl.so
domain 127.0.0.1 {
diff --git a/examples/parameters/conf/parameters.conf b/examples/parameters/conf/parameters.conf
@@ -1,7 +1,6 @@
# Placeholder configuration
bind 127.0.0.1 8888
-pidfile kore.pid
load ./parameters.so
# The validator used to validate the 'id' parameter
diff --git a/examples/pgsql/conf/pgsql.conf b/examples/pgsql/conf/pgsql.conf
@@ -1,7 +1,6 @@
# Kore pgsql_test configuration
bind 127.0.0.1 8888
-pidfile kore.pid
load ./pgsql.so pgsql_load
pgsql_conn_max 5
diff --git a/examples/tasks/conf/tasks.conf b/examples/tasks/conf/tasks.conf
@@ -1,7 +1,6 @@
# Kore config for tasks example
bind 127.0.0.1 8888
-pidfile kore.pid
load ./tasks.so
validator v_user regex ^[a-z]*$
diff --git a/src/cli.c b/src/cli.c
@@ -156,7 +156,6 @@ static const char *config_data =
"# Placeholder configuration\n"
"\n"
"bind\t\t127.0.0.1 8888\n"
- "pidfile\t\tkore.pid\n"
"load\t\t./%s.so\n"
"\n"
"domain 127.0.0.1 {\n"