[Main]
Type = classic
Version = 0.0.2
Description = "postfix daemon"
User = ( root )

[Start]
Execute = (
    /usr/lib/execline/bin/foreground { if -n { test -e /etc/postfix/main.cf }  bash -c " mkdir -p /etc/postfix &&  cp /usr/share/postfix/main.cf.debian /etc/postfix/main.cf" }
     postfix ${Args}
)

[Environment]
Args=!start-fg
