mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 01:55:34 -05:00
23 lines
378 B
Bash
23 lines
378 B
Bash
|
#!/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
|