Skip to content

希望为服务器添加重启,停机的功能 #68

@TheOnlyDarkDragon

Description

@TheOnlyDarkDragon

如题,希望在服务器配置JSON里面可以加入服务器的停止和重启指令,然后直接命令调用即可。
例如:
{
"黑龙": [
{
"id": 1,
"ip": "47.116.119.109:27015",
"cstop": "ssh root@ali /etc/init.d/anne restart"
}
]
}
然后机器人响应指令l4restart 黑龙1,于是黑龙1服重启了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions