X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/0feb9933cc892b2a03e52565b69ddce3070aa107..7f1af3e8a93fc3a70683c1745fa9286baa1e48ee:/SOURCES/ihttpd.service 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