diff options
Diffstat (limited to 'postgresql-controller.lua')
-rw-r--r-- | postgresql-controller.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/postgresql-controller.lua b/postgresql-controller.lua index 91ce5f8..e7c6d13 100644 --- a/postgresql-controller.lua +++ b/postgresql-controller.lua @@ -3,6 +3,11 @@ module(..., package.seeall) -- Load libraries require("controllerfunctions") +mvc = {} +mvc.on_load = function(self, parent) + self.model.set_processname(string.match(self.conf.prefix, "[^/]+")) +end + default_action = "status" function status(self) |