Martin writes: > Correct: > > + set /etc/init.d/apache-htcacheclean start > [...] > + prog=apache-htcacheclean > + service=apache-htcacheclean.service > > Thus $0 is okay (from the "set" in init-t-script)
Err, really ? I'm not sure this is right. I don't have the set -x output that Martin is apparently working from in front of me, but set /etc/init.d/apache-htcacheclean start looks quite wrong. It would set $1 to `/etc/init.d/apache-htcacheclean' and $2 to `start'. But maybe I'm just confused. I can't find the `"set" in init-t-script' Martin refers to. init-d-script has only one set and it's a set -x. My /lib/lsb/init-functions doesn't look like it would trash $1. Ian. -- Ian Jackson <ijack...@chiark.greenend.org.uk> These opinions are my own. If I emailed you from an address @fyvzl.net or @evade.org.uk, that is a private address which bypasses my fierce spamfilter.