parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remote execution of init script


From: G Fernandes
Subject: Remote execution of init script
Date: Mon, 2 Dec 2013 12:07:15 +0000

$ parallel --version
GNU parallel 20130922
Copyright (C) 2007,2008,2009,2010,2011,2012,2013 Ole Tange and Free Software Foundation, Inc.

I am trying to start a service on two servers in parallel with the command:

$ parallel  --no-notice --nonall -S server12,server2 "/etc/init.d/service start"


What happens is that the server is started correctly, but after parallel exits, the server gets stopped. 

On the other hand, the below command does work (service started and stays started)

$ ssh server12 "/etc/init.d/service start"


Any clues?


Thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]