diff options
| author | Alexis Cellier <alexis.cellier@smile.fr> | 2025-02-27 11:09:09 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-27 13:10:00 -0800 |
| commit | 5c3234313166e1b2d58cf4d7314568d7c27aa99a (patch) | |
| tree | dd30161caebc0db7e9ebc770d057e8e04fe577ab | |
| parent | 8dad29ad58e237e67d7d4f5b0dc68b10b9d86065 (diff) | |
| download | meta-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.service | 4 |
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] |
| 5 | Type=forking | 5 | Type=forking |
| 6 | ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /var/run/thttpd.pid | 6 | ExecStart=/usr/sbin/thttpd -C @@CONFFILE -c cgi-bin/* -i /run/thttpd.pid |
| 7 | PIDFile=/var/run/thttpd.pid | 7 | PIDFile=/run/thttpd.pid |
| 8 | 8 | ||
| 9 | [Install] | 9 | [Install] |
| 10 | WantedBy=multi-user.target | 10 | WantedBy=multi-user.target |
