treewide: deprecate ip-up.target (#18319)

Systemd upstream provides targets for networking. This also includes a target network-online.target.

In this PR I remove / replace most occurrences since some of them were even wrong and could delay startup.
This commit is contained in:
Alexander Ried
2016-09-10 18:03:59 +02:00
committed by Franz Pletz
parent a28bbba6fc
commit 27bc34f1e4
17 changed files with 35 additions and 33 deletions
@@ -61,7 +61,9 @@ with lib;
services.avahi.enable = true;
systemd.services."4store-endpoint" = {
wantedBy = [ "ip-up.target" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
script = ''
${run} '${pkgs.rdf4store}/bin/4s-httpd -D ${cfg.options} ${if cfg.listenAddress!=null then "-H ${cfg.listenAddress}" else "" } -p ${toString cfg.port} ${cfg.database}'
'';
+2 -1
View File
@@ -53,7 +53,8 @@ with lib;
services.avahi.enable = true;
systemd.services."4store" = {
wantedBy = [ "ip-up.target" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p ${stateDir}/
@@ -62,7 +62,8 @@ with lib;
};
systemd.services.virtuoso = {
wantedBy = [ "ip-up.target" ];
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p ${stateDir}