mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 06:16:08 +01:00
user level ssh terminal
This commit is contained in:
@@ -885,6 +885,11 @@ local_name %s {
|
||||
cmd = shlex.split(command)
|
||||
subprocess.call(cmd)
|
||||
|
||||
|
||||
command = 'systemctl restart fastapi_ssh_server.service'
|
||||
cmd = shlex.split(command)
|
||||
subprocess.call(cmd)
|
||||
|
||||
print("1,None")
|
||||
return 1, 'None'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user