commit ddf23ef65bf81c81862da38bdb7f90a4aa030b0a
parent 84d2c7fa0d63c1e67e75a89cdfad86899875fe64
Author: Joris Vink <joris@coders.se>
Date: Tue, 17 Dec 2013 11:48:53 +0100
Remove onload, it's gone
Diffstat:
modules/example/module.conf | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/modules/example/module.conf b/modules/example/module.conf
@@ -21,9 +21,6 @@ workers 4
# Store the main process its pid in this file.
#pidfile /var/run/kore.pid
-# The onload function is called everytime the module is loaded or reloaded.
-#onload myinit
-
# You can define a callback Kore calls from its parent process or
# workers everytime the kore_cb_interval timer (in milliseconds) is reached.
#
@@ -50,7 +47,9 @@ workers 4
#http_keepalive_time 20
#http_hsts_enable 31536000
-# Specifies what module to be loaded.
+# Load modules (you can load multiple at the same time).
+# An additional parameter can be specified as the "onload" function
+# which Kore will call when the module is loaded/reloaded.
load modules/example/example.module
# Validators