X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/0feb9933cc892b2a03e52565b69ddce3070aa107..refs/heads/master:/SOURCES/ihttpd.service?ds=sidebyside 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