From 78eee56d404f5f67ceb6c7c01744567161c3b251 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Thu, 22 Aug 2024 06:21:33 +0700 Subject: [PATCH] Ignore postgres --- src/controllers/logman.js | 5 ----- src/controllers/named.js | 1 - sudoutil.js | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/controllers/logman.js b/src/controllers/logman.js index 6dff85e..8381935 100644 --- a/src/controllers/logman.js +++ b/src/controllers/logman.js @@ -1,12 +1,7 @@ import express from 'express'; -import { - iptablesExec as executor -} from '../executor/iptables.js'; import { checkGet, - checkPost } from '../util.js'; -import { virtualminExec } from '../executor/virtualmin.js'; import { logmanExec } from '../executor/logman.js'; export default function () { diff --git a/src/controllers/named.js b/src/controllers/named.js index aed58e1..84241b1 100644 --- a/src/controllers/named.js +++ b/src/controllers/named.js @@ -1,6 +1,5 @@ import { checkGet, - checkPost, } from '../util.js'; import express from 'express'; import { diff --git a/sudoutil.js b/sudoutil.js index d62c373..912bcf0 100755 --- a/sudoutil.js +++ b/sudoutil.js @@ -289,7 +289,7 @@ switch (cli.args.shift()) { 'sshd', 'crond', 'mariadb', - 'postgresql', + // 'postgresql', 'iptables', 'ip6tables', 'fail2ban',