From 9c0bb9c385e145235444163c1a19180aeb9fcbef Mon Sep 17 00:00:00 2001 From: Debdut Chakraborty Date: Sun, 17 May 2020 19:07:16 +0530 Subject: [PATCH] removing config options that are not yet implemented --- service/docksec.service | 4 ++-- skel/main.json | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/service/docksec.service b/service/docksec.service index 4f7cd24..390f26d 100644 --- a/service/docksec.service +++ b/service/docksec.service @@ -1,10 +1,10 @@ [Unit] -Description=admin-authz +Description=docksec Before=docker.service After=network.target [Service] -ExecStart=/usr/local/bin/admin-authz +ExecStart=/usr/bin/docksec [Install] WantedBy=multi-user.target diff --git a/skel/main.json b/skel/main.json index 79c31d1..c729b51 100644 --- a/skel/main.json +++ b/skel/main.json @@ -1,22 +1,15 @@ { "plugin": { - "port": 6767, - "socket": true, "description": true, "commands": [ { "cmd": "ps", - "allow": false, - "dmsg": "No permission", - "amsg": "Admin restricted" + "allow": false }, { "cmd": "exec", "dmsg": "Not allowed" } ] - }, - "handler": { - "editor": "vim" } }