From: Thierry Parmentelat Date: Wed, 4 Mar 2015 13:11:18 +0000 (+0100) Subject: trying to add an explicit dependency to network-online.target X-Git-Tag: bootcd-5.2-5~18 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=97445e9bc3b2d277fe5b5da2c5bd7b12e40a151c trying to add an explicit dependency to network-online.target --- diff --git a/systemd/pl_boot.service b/systemd/pl_boot.service index c8f0a38..d312b76 100644 --- a/systemd/pl_boot.service +++ b/systemd/pl_boot.service @@ -1,5 +1,7 @@ [Unit] Description=pl_boot service +Requires=network-online.target +After=network-online.target [Service] ExecStart=/etc/init.d/pl_wrapper diff --git a/systemd/pl_boot.target b/systemd/pl_boot.target index 1e814d4..4108618 100644 --- a/systemd/pl_boot.target +++ b/systemd/pl_boot.target @@ -1,12 +1,3 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -# See systemd.special(7) for details - [Unit] Description=pl_boot BootCD default target Requires=pl_boot.service