mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-21 15:58:52 +00:00
12 lines
183 B
Bash
Executable File
12 lines
183 B
Bash
Executable File
#!/bin/bash
|
|
function cleanup()
|
|
{
|
|
local pids=`jobs -p`
|
|
if [[ "$pids" != "" ]]; then
|
|
kill $pids >/dev/null 2>/dev/null
|
|
fi
|
|
}
|
|
|
|
trap cleanup EXIT
|
|
python jms start all
|