diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-02-21 10:32:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-25 10:43:06 +0000 |
commit | e34b0865c7deee5fac286ac076ebcbd529005247 (patch) | |
tree | 12ae4299cf6096ff95a50a9e82ddeab9f63f8863 /meta/recipes-extended/lighttpd/lighttpd | |
parent | 7efebde6ac668524e512c9c897bdff1a255de89b (diff) | |
download | poky-e34b0865c7deee5fac286ac076ebcbd529005247.tar.gz |
lighttpd: Use the upstream lighttpd.service
We shipped an old version that was missing several fixes.
A minor incompatibility is that this moves
/etc/lighttpd.conf -> /etc/lighttpd/lighttpd.conf
(From OE-Core rev: bd46eeee09e99ae4646a92f5bf5bc3c619e63cde)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lighttpd/lighttpd')
-rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd/lighttpd | 2 | ||||
-rw-r--r-- | meta/recipes-extended/lighttpd/lighttpd/lighttpd.service | 12 |
2 files changed, 1 insertions, 13 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd/lighttpd b/meta/recipes-extended/lighttpd/lighttpd/lighttpd index bf89a60b7d..82fbaa523b 100644 --- a/meta/recipes-extended/lighttpd/lighttpd/lighttpd +++ b/meta/recipes-extended/lighttpd/lighttpd/lighttpd | |||
@@ -4,7 +4,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin | |||
4 | DAEMON=/usr/sbin/lighttpd | 4 | DAEMON=/usr/sbin/lighttpd |
5 | NAME=lighttpd | 5 | NAME=lighttpd |
6 | DESC="Lighttpd Web Server" | 6 | DESC="Lighttpd Web Server" |
7 | OPTS="-f /etc/lighttpd.conf" | 7 | OPTS="-f /etc/lighttpd/lighttpd.conf" |
8 | 8 | ||
9 | case "$1" in | 9 | case "$1" in |
10 | start) | 10 | start) |
diff --git a/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service b/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service deleted file mode 100644 index 66a907aa17..0000000000 --- a/meta/recipes-extended/lighttpd/lighttpd/lighttpd.service +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=Lightning Fast Webserver With Light System Requirements | ||
3 | After=network.target | ||
4 | |||
5 | [Service] | ||
6 | ExecStartPre=@SBINDIR@/lighttpd -t -f @SYSCONFDIR@/lighttpd.conf | ||
7 | ExecStart=@SBINDIR@/lighttpd -D -f @SYSCONFDIR@/lighttpd.conf | ||
8 | ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=multi-user.target | ||
12 | |||