On Thu, 12.05.11 17:04, "Jóhann B. Guðmundsson" (johannbg(a)gmail.com) wrote:
You can run ExecStartPre= before starting a service for syntax
checking
before starting the service like we do for ..
ExecStartPre=/usr/sbin/radiusd -C
ExecStartPre=/usr/sbin/named-checkconf /etc/named.conf
ExecStartPre=/usr/sbin/cupsd -t
Humm, I really wonder what the benefit of placing these lines here
is. What does it buy you?
A sane daemon should do a syntax check anyway when starting (and exit if
it fails), so why do you do another one before? Unless there's a really
good reason for it this just complicates things, makes things slower,
and duplicates everything.
Lennart
--
Lennart Poettering - Red Hat, Inc.