Unset default dependencies in order to properly run at early boot but set a requirement for the save directory to be mounted. See the systemd.unit man page, Debian's wiki page https://wiki.debian.org/Teams/pkg-systemd/rcSMigration and the upstream systemd-networkd.service file for details. --- src/connman.service.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/connman.service.in b/src/connman.service.in index 8f7f342..d96ea39 100644 --- a/src/connman.service.in +++ b/src/connman.service.in @@ -1,7 +1,10 @@ [Unit] Description=Connection service +DefaultDependencies=no +Conflicts=shutdown.target +RequiresMountsFor=@localstatedir@/lib/connman After=dbus.service network-pre.target -Before=network.target remote-fs-pre.target +Before=network.target shutdown.target remote-fs-pre.target Wants=network.target remote-fs-pre.target [Service] -- 2.1.4 _______________________________________________ connman mailing list [email protected] https://lists.connman.net/mailman/listinfo/connman
