[HEADS-UP] systemd for F14 - the next steps

Chris Adams cmadams at hiwaay.net
Wed Jul 14 18:31:01 UTC 2010


Once upon a time, Lennart Poettering <mzerqung at 0pointer.de> said:
> Yes this would work, though in a different syntax:
> 
>   ExecStartPre=-/bin/mkdir -p /var/run/foo ; -/sbin/restorecon /var/run/foo
> 
> (The initial - btw means that the exit code of the command is ignored)

Why would you ignore the exit code?  If you can't make the directory and
set the context, you shouldn't start the service.

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


More information about the devel mailing list