summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Cellier <alexis.cellier@smile.fr>2025-02-27 11:09:09 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-27 13:10:00 -0800
commit5c3234313166e1b2d58cf4d7314568d7c27aa99a (patch)
treedd30161caebc0db7e9ebc770d057e8e04fe577ab
parent8dad29ad58e237e67d7d4f5b0dc68b10b9d86065 (diff)
downloadmeta-openembedded-5c3234313166e1b2d58cf4d7314568d7c27aa99a.tar.gz
sthttpd: Fix service unit file
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.congal@smile.fr> Signed-off-by: Alexis Cellier <alexis.cellier@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/sthttpd/sthttpd/thttpd.service4
1 files 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
3 3
4[Service] 4[Service]
5Type=forking 5Type=forking
6ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /var/run/thttpd.pid 6ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /run/thttpd.pid
7PIDFile=/var/run/thttpd.pid 7PIDFile=/run/thttpd.pid
8 8
9[Install] 9[Install]
10WantedBy=multi-user.target 10WantedBy=multi-user.target