summaryrefslogtreecommitdiffstats
path: root/syslog-model.lua
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-09 14:01:12 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-09 14:01:12 +0000
commitcb58f48100942a0fcf79e914fce6ab38b4a1427e (patch)
tree065ed9628da6af027924e8b6c087ba933e3e5a9f /syslog-model.lua
parent10d4d3ab01a7ab59b8c07c8acb75c1b3ffd9c754 (diff)
downloadacf-alpine-baselayout-cb58f48100942a0fcf79e914fce6ab38b4a1427e.tar.bz2
acf-alpine-baselayout-cb58f48100942a0fcf79e914fce6ab38b4a1427e.tar.xz
Small bugfix.
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@974 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'syslog-model.lua')
-rw-r--r--syslog-model.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/syslog-model.lua b/syslog-model.lua
index 67dd079..262bb17 100644
--- a/syslog-model.lua
+++ b/syslog-model.lua
@@ -8,6 +8,7 @@ require("daemoncontrol")
require("validator")
local configfile = "/etc/conf.d/syslog"
+local processname = "syslog"
local config = {}
local function get_version()
@@ -31,7 +32,7 @@ end
-- action should be a CFE
function startstop_service ( self, action )
local cmd = action.value
- local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol("syslog", cmd)
+ local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol(processname, cmd)
action.descr=cmdmessage
action.errtxt=cmderror
-- Reporting back (true|false, the original acition)