I am pretty noob with gnu parallel, maybe someone can give me a hint.

i have this script:

#!/bin/bash
exec sec --conf=/etc/sec/sec.conf --notail --input=- --log=/var/log/sec.log
--debug=6
exec sec --conf=/etc/sec/sec2.conf --notail --input=-
--log=/var/log/sec2.log --debug=6

to run the two lines in parallel i supouse that will be like that?:
parallel  sec ::: --conf=/etc/sec/sec.conf --notail --input=-
--log=/var/log/sec.log --debug=6 :::  --conf=/etc/sec/sec2.conf --notail
--input=- --log=/var/log/sec2.log --debug=6


any hint will be very apreciated
                                      Martin

Reply via email to