(sig)
| 231 | |
| 232 | |
| 233 | def signal_sergate(sig): |
| 234 | pid = get_sergate_pid() |
| 235 | if not pid: |
| 236 | raise ApiError(503, "sergate process was not found") |
| 237 | os.kill(pid, sig) |
| 238 | return pid |
| 239 | |
| 240 | |
| 241 | def find_server(config, username): |
no test coverage detected