Ralf Mardorf writes:
 > On Thu, 2014-02-13 at 09:12 +0100, Gian Uberto Lauri wrote:

[... omissis ...]

 > > Do I find a clear, reliable set of instructions to achieve this goal?

[... omissis ...]

 > "Handling dependencies
 > With systemd, dependencies can be resolved by designing the unit files
 > correctly. The most typical case is that the unit A requires the unit B
 > to be running before A is started. In that case add Requires=B and
 > After=B to the [Unit] section of A. If the dependency is optional, add
 > Wants=B and After=B instead. Note that Wants= and Requires= do not imply
 > After=, meaning that if After= is not specified, the two units will be
 > started in parallel.
 > Dependencies are typically placed on services and not on targets. For
 > example, network.target is pulled in by whatever service configures your
 > network interfaces, therefore ordering your custom unit after it is
 > sufficient since network.target is started anyway." -

Thanks.

Not the clearest documentation possible, humans are ill suited for
forward references (that nevertheless require a second pass on the
source). And still several concepts are still in the wiki-page
author's brain.

Another question. Systemd will continue to let me use the systemv
scripts?

Systemd  is  a  complex  system  meant to  handle  with  system  whose
configuration varies a lot  (exp. hardware configuration).

Therefore, it is a good tool for users that are happy with what comes
out of the box -like DHCP is a good idea for an user that just wants a
TCP/IP configuration and would not care less of the assigned IP
address-

Please correct me, but I think it could let me start mount a certain
file system if and only if there is a certain device on the USB bus,
and that could maybe with less than 90 lines (the len of the script I
use, most of them handle the possible anomalies).

But it seems that reaches this goal at the cost of increasing the
complexity.

I still think that systemd could not be the right choices where - for
example - hardware re-configuration will never happen while the
increased complexity turns out to be a burden greater than any benefit
received. "Falling back" to a System V emulation could give an escape
from that complexity.

Or else, leave the user choose what to use.

-- 
ing. Gian Uberto Lauri
Solution Developer Senior
Direzione Ricerca e Innovazione
gianuberto.la...@eng.it

Sun Java Certified Programmer

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD)

Tel. +39-049.8283.517         | main(){printf(&unix["\021%six\012\0"],
Fax  +39-049.8283.569             |    (unix)["have"]+"fun"-0x60);}
http://www.eng.it                 |          David Korn, AT&T Bell Labs
                                          |          ioccc best One Liner, 1987


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/21244.40577.243802.586...@mail.eng.it

Reply via email to