|
automation
hi
i'm running linux on a test computer low of resources
(this is better because with low resource i can learn better how to optimize.....this is also bad because the work to do is sometimes frustrating...)
env:mandrake 10.1
now the problem....
i have several situation where a pgmA need another prerequisite pgmB to be running....now the pre-req pgmB is automatically started in the /etc/init.d directory as linux service....
but for me is better to have an executable or a script performing the following actions....
start pgm A
start pgm B
then when pgm B is stopped,stop also pgm A
i think the script is easier....
i'm a linux newbye.....i was working for many years on ibm mainframes...
but i do not know linux languages....script C etc etc....
thanks in advance...
Maurizio
|