- killproc() sucks and has no consistency, error reporting
you'll never know which side of PROCNAME you should add the --waitforname or -SIGNAL args
because if you put -SIGNAL at wrong side of PROGNAME it will enter infinitive loop:
killproc -TERM --waitforname slapd --waitfortime 300 slapd
if you put --waitforname at wrong side, it will just ignore them:
- killproc() sucks and has no consistency, error reporting
you'll never know which side of PROCNAME you should add the --waitforname or -SIGNAL args
because if you put -SIGNAL at wrong side of PROGNAME it will enter infinitive loop:
killproc -TERM --waitforname slapd --waitfortime 300 slapd
if you put --waitforname at wrong side, it will just ignore them: