diff --git a/modules/example/module.conf b/modules/example/module.conf index 6d6d969..81f37f7 100644 --- 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