]> Raphaƫl G. Git Repositories - ihttpd/blobdiff - SOURCES/ihttpd.service
Remove tmpfiles
[ihttpd] / SOURCES / ihttpd.service
index 00bfcd30f4715a9407131fa368156903022e70fe..a1772738930504c2ef4184d17cd2a485a04c80e5 100644 (file)
@@ -1,15 +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-pre.target
-After=systemd-networkd.service systemd-tmpfiles-setup.service
+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