Peter Dolding <oia...@gmail.com> writes: > ExecStartPre=, ExecStartPost= can be written many times.
> ExecStartPre= rm somewhere > ExecStartPre= touch somewhere That really doesn't help, because... > In fact lot of cases I see one line entries in systemd and I see bad > form. Unless one line has like if or for statements its really bad > form inside systemd. ...of this. If you can't write the scripts with proper block structure, it's actually better to just externalize them in a separate file rather than doing something this awful to try to inline them. I don't think you're going to convince me to like this syntax. :) But it's a minor issue. > Basically upstart is lacking one key feature. If it not fixed it will > come back and bite us. Really I would like to see this fixed before > debian takes up upstart if debian takes up upstart at all. I'm afraid there is little chance you will manage to convince me that this is a key feature. I've been writing portable shell scripts for years, and Debian has been dealing with shell portability issues for years. Regardless of what we do with the init system, we will still have to deal with this with maintainer scripts, etc. I do see why you're concerned, but I just don't see this as critical compared to other issues under discussion. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-ctte-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87eh6v8pic....@windlord.stanford.edu