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" } }