aboutsummaryrefslogtreecommitdiff
path: root/api/lib/akLogMessage/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'api/lib/akLogMessage/index.js')
-rw-r--r--api/lib/akLogMessage/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/lib/akLogMessage/index.js b/api/lib/akLogMessage/index.js
index da35877..0df974a 100644
--- a/api/lib/akLogMessage/index.js
+++ b/api/lib/akLogMessage/index.js
@@ -3,8 +3,8 @@ const config = require('../../config')
module.exports = (type, message) => {
const command = spawn(
- "ak-log-message",
- ["ak-daemon", type, message]
+ "ak",
+ ["log", "-m", "ak-daemon", type, message]
);
var buffer = "";