From 32336499bbabd019d56c6626bd0542220bdbbebd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 2 Sep 2021 02:28:52 +0200 Subject: [PATCH] Remove tmpfiles Create ihttpd tree before service start --- SOURCES/ihttpd.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SOURCES/ihttpd.service b/SOURCES/ihttpd.service index 0c055f4..a177273 100644 --- a/SOURCES/ihttpd.service +++ b/SOURCES/ihttpd.service @@ -4,12 +4,13 @@ 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 -- 2.41.1