]> Raphaƫl G. Git Repositories - ihttpd/blobdiff - SOURCES/ihttpd.service
Remove old version
[ihttpd] / SOURCES / ihttpd.service
index 80ad31bdf50afbe5c6dc4ca442635af072303aa4..a1772738930504c2ef4184d17cd2a485a04c80e5 100644 (file)
@@ -1,13 +1,16 @@
 # Based on /usr/lib/systemd/system/debug-shell.service
 [Unit]
-Description=Spawn apache ihttpd server to answer password requests
+Description=The Apache HTTP Server answering password requests
 DefaultDependencies=no
 AllowIsolate=no
 IgnoreOnIsolate=yes
+Before=cryptsetup.target
+After=systemd-networkd.service
 
 [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