On Wed, Mar 28, 2018 at 01:52:59PM +0200, Sms Backup wrote:
>    Thanks for reply !
>    You are rigght, this is systemd unit file. So for filtering I just
>    use ExecStart=/bin/sh -c /opt/sge/bin/sge_qmaster |&grep -v '^RUE_' ?
>    Sorry, but I cannot understand this part.

I think you probably want ExecStart=/bin/sh -c "/opt/sge/bin/sge_qmaster|&grep 
-v '^RUE_'"

AIUI systemd understands double quotes and you want to pass the whole construct 
to
shell as a script.  Without the double quotes everything after sge_qmaster is 
interpreted
by the shell as arguments to the script rather than part of the script itself.

William

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to