]> Raphaël G. Git Repositories - ihttpd/commitdiff
Remove tmpfiles
authorRaphaël Gertz <git@rapsys.eu>
Thu, 2 Sep 2021 00:28:52 +0000 (02:28 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 2 Sep 2021 00:28:52 +0000 (02:28 +0200)
Create ihttpd tree before service start

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