[MASOCH-L] Parar/Iniciar multiplos serviços/daemons Linux

Alex Montoanelli alex.montoanelli at unetvale.net
Tue Dec 9 18:19:11 BRST 2014


Olá Rejaine,

Exemplificando oque o Henrique falou fica mais ou menos assim:

O primeiro grupo e segundo vão ser iniciados em paralelo, e o 3º só será
executado assim que g1 e g2 terminarem.

Abraço

#grupo1
(
binario1
binario2
binario3
)&

#grupo2
(
binario4
binario5
binario6
)&

wait

#grupo3
(
binario7
binario8
binario9
)&


--
*Alex Montoanelli*
 » Unetvale <http://www.unetvale.com.br>
 » +55 48 3263 8789
 » INOC 53175*100

On Tue, Dec 9, 2014 at 6:00 PM, Henrique de Moraes Holschuh <hmh at hmh.eng.br>
wrote:

> On Tue, 09 Dec 2014, Lucas Willian Bocchi wrote:
> > Pra isso existem os arquivos pid.
>
> E o built-in "wait" se o que você precisa é esperar pelos jobs em
> background...
>
> --
>   "One disk to rule them all, One disk to find them. One disk to bring
>   them all and in the darkness grind them. In the Land of Redmond
>   where the shadows lie." -- The Silicon Valley Tarot
>   Henrique Holschuh
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>


More information about the masoch-l mailing list