diff options
author | Muhammad Shakeel <muhammad_shakeel@mentor.com> | 2013-09-04 11:05:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-10 23:15:15 +0100 |
commit | 1661f5c90afd6a7aeecc6ad450a7104fe2dd5f00 (patch) | |
tree | d17739c99ead8385e5e442b19546cd0a50c7eb4b /meta/recipes-extended/lighttpd/files | |
parent | c6d25fbd3f65c3744a4778d68cac3795a6fb2970 (diff) | |
download | poky-1661f5c90afd6a7aeecc6ad450a7104fe2dd5f00.tar.gz |
lighttpd: Add systemd support
- Remove dependency on meta-systemd
(From OE-Core rev: 36e3d63abaeafc5d2e671bad45b599c159ed10ab)
Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lighttpd/files')
-rw-r--r-- | meta/recipes-extended/lighttpd/files/lighttpd.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-extended/lighttpd/files/lighttpd.service b/meta/recipes-extended/lighttpd/files/lighttpd.service new file mode 100644 index 0000000000..66a907aa17 --- /dev/null +++ b/meta/recipes-extended/lighttpd/files/lighttpd.service | |||
@@ -0,0 +1,12 @@ | |||
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 | |||