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 <yoann.con...@smile.fr>
Signed-off-by: Alexis Cellier <alexis.cell...@smile.fr>
---
 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 f1095007c..f181f30ab 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
-- 
2.48.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115687): 
https://lists.openembedded.org/g/openembedded-devel/message/115687
Mute This Topic: https://lists.openembedded.org/mt/111412603/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to