From: Raphaƫl Gertz Date: Thu, 2 Sep 2021 00:28:52 +0000 (+0200) Subject: Remove tmpfiles X-Git-Tag: 2.4.38-6~2 X-Git-Url: https://git.rapsys.eu/ihttpd/commitdiff_plain/32336499bbabd019d56c6626bd0542220bdbbebd?ds=sidebyside;hp=7929df8652c7b25fcfe6578efba5ae0ed93eec8e Remove tmpfiles Create ihttpd tree before service start --- 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