Once upon a time, Lennart Poettering <[email protected]> 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 <[email protected]> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. -- devel mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/devel
