Add dependencies to avoid race conditions and be sure we start in time
authorRaphaël Gertz <git@rapsys.eu>
Sun, 19 Jun 2016 06:00:22 +0000 (08:00 +0200)
committerRaphaël Gertz <rapsys@rapsys.eu>
Sun, 19 Jun 2016 06:00:22 +0000 (08:00 +0200)
SOURCES/ihttpd.service

index 80ad31b..00bfcd3 100644 (file)
@@ -4,6 +4,8 @@ Description=Spawn apache ihttpd server to answer password requests
 DefaultDependencies=no
 AllowIsolate=no
 IgnoreOnIsolate=yes
+Before=cryptsetup-pre.target
+After=systemd-networkd.service systemd-tmpfiles-setup.service
 
 [Service]
 Type=simple