]> Raphaƫl G. Git Repositories - ihttpd/blobdiff - SOURCES/ihttpd.service
Remove old version
[ihttpd] / SOURCES / ihttpd.service
index 0c055f4b070b28d75c610058e503906d4a9db7d8..a1772738930504c2ef4184d17cd2a485a04c80e5 100644 (file)
@@ -4,12 +4,13 @@ Description=The Apache HTTP Server answering password requests
 DefaultDependencies=no
 AllowIsolate=no
 IgnoreOnIsolate=yes
 DefaultDependencies=no
 AllowIsolate=no
 IgnoreOnIsolate=yes
-Before=cryptsetup-pre.target
-After=systemd-networkd.service systemd-tmpfiles-setup.service
+Before=cryptsetup.target
+After=systemd-networkd.service
 
 [Service]
 Type=simple
 Environment=LANG=C
 
 [Service]
 Type=simple
 Environment=LANG=C
+ExecStartPre=/usr/bin/mkdir -p /run/ihttpd /run/ihttpd/log
 ExecStart=/usr/sbin/ihttpd -DFOREGROUND
 KillSignal=SIGWINCH
 KillMode=mixed
 ExecStart=/usr/sbin/ihttpd -DFOREGROUND
 KillSignal=SIGWINCH
 KillMode=mixed