From 0feb9933cc892b2a03e52565b69ddce3070aa107 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 19 Jun 2016 06:34:22 +0200 Subject: [PATCH 1/1] Fix service to start reliably --- SOURCES/ihttpd.service | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/SOURCES/ihttpd.service b/SOURCES/ihttpd.service index 9961633..80ad31b 100644 --- a/SOURCES/ihttpd.service +++ b/SOURCES/ihttpd.service @@ -1,17 +1,17 @@ -# 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=Spawn apache ihttpd server to answer 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 [Service] Type=simple Environment=LANG=C -ExecStart=/usr/sbin/ihttpd $OPTIONS -DFOREGROUND -ExecReload=/usr/sbin/ihttpd $OPTIONS -k graceful +ExecStart=/usr/sbin/ihttpd -DFOREGROUND KillSignal=SIGWINCH KillMode=mixed PIDFile=/run/ihttpd/ihttpd.pid + +[Install] +WantedBy=sysinit.target -- 2.41.1