From 5c3234313166e1b2d58cf4d7314568d7c27aa99a Mon Sep 17 00:00:00 2001 From: Alexis Cellier Date: Thu, 27 Feb 2025 11:09:09 +0100 Subject: [PATCH] sthttpd: Fix service unit file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update PID file path from /var/run to /run to avoid systemd warning: PIDFile= references a path below legacy directory /var/run/, updating /var/run/thttpd.pid → /run/thttpd.pid; please update the unit file accordingly. Cc: Yoann Congal Signed-off-by: Alexis Cellier Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service b/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service index f1095007c4..f181f30abb 100644 --- a/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service +++ b/meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service @@ -3,8 +3,8 @@ Description=Tiny/Turbo/Throttling Web Server [Service] Type=forking -ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /var/run/thttpd.pid -PIDFile=/var/run/thttpd.pid +ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /run/thttpd.pid +PIDFile=/run/thttpd.pid [Install] WantedBy=multi-user.target