X-Git-Url: https://git.rapsys.eu/ihttpd/blobdiff_plain/034a5b59d291e9a01cc9fd6c77aeb1019174e5c6..1508cd8949e4d0438690aae7abad41591712796d:/SOURCES/ihttpd.service?ds=sidebyside diff --git a/SOURCES/ihttpd.service b/SOURCES/ihttpd.service index 9961633..a177273 100644 --- a/SOURCES/ihttpd.service +++ b/SOURCES/ihttpd.service @@ -1,17 +1,20 @@ -# Service unit starting ihttpd.service on password request +# Based on /usr/lib/systemd/system/debug-shell.service [Unit] -Description=Answer Password Requests from the Apache IHTTP Server +Description=The Apache HTTP Server answering password requests DefaultDependencies=no -Conflicts=shutdown.target multi-user.target graphical.target -After=plymouth-start.service -Before=paths.target shutdown.target -ConditionPathExists=!/run/plymouth/pid +AllowIsolate=no +IgnoreOnIsolate=yes +Before=cryptsetup.target +After=systemd-networkd.service [Service] Type=simple Environment=LANG=C -ExecStart=/usr/sbin/ihttpd $OPTIONS -DFOREGROUND -ExecReload=/usr/sbin/ihttpd $OPTIONS -k graceful +ExecStartPre=/usr/bin/mkdir -p /run/ihttpd /run/ihttpd/log +ExecStart=/usr/sbin/ihttpd -DFOREGROUND KillSignal=SIGWINCH KillMode=mixed PIDFile=/run/ihttpd/ihttpd.pid + +[Install] +WantedBy=sysinit.target