mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 06:31:52 +00:00
23 lines
No EOL
378 B
Bash
Executable file
23 lines
No EOL
378 B
Bash
Executable file
#!/bin/sh
|
|
|
|
(cd 7000 && redis-server redis.conf) &
|
|
PID1="$!"
|
|
|
|
(cd 7001 && redis-server redis.conf) &
|
|
PID2="$!"
|
|
|
|
(cd 7002 && redis-server redis.conf) &
|
|
PID3="$!"
|
|
|
|
(cd 7003 && redis-server redis.conf) &
|
|
PID4="$!"
|
|
|
|
(cd 7004 && redis-server redis.conf) &
|
|
PID5="$!"
|
|
|
|
(cd 7005 && redis-server redis.conf) &
|
|
PID6="$!"
|
|
|
|
trap "kill $PID1 $PID2 $PID3 $PID4 $PID5 $PID6" exit INT TERM
|
|
|
|
wait |