X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/0feb9933cc892b2a03e52565b69ddce3070aa107..3384065809c951d0c019cd8919ab6c43c7b3b4df:/SOURCES/ihttpd.service?ds=inline diff --git a/SOURCES/ihttpd.service b/SOURCES/ihttpd.service index 80ad31b..a177273 100644 --- a/SOURCES/ihttpd.service +++ b/SOURCES/ihttpd.service @@ -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