On 12/7/2012 10:21 AM, Per Jessen wrote:
I have a couple of systemd service units with
ExecStartPre=-/bin/echo 'Starting something:'
(e.g. spamd and postfix I think).
The echo just leaves lines like these in /var/log/messages:
2012-12-07T12:23:48+01:00 dupont5 echo[2799]: Starting mail service 2012-12-07T16:15:03+01:00 dupont5 echo[4778]: Starting spamd:
I was just wondering what the purpose of this ExecStartPre is?
I would say because it's clearly more efficient and flexible to add an ExecStartPre feature to systemd and the systemd service/config file format, than to just insert the same line or any lines you like into the old init scripts, without requiring any special support from /sbin/init to do it... -- bkw -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org