diff options
| author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-07-11 13:53:25 +0200 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-16 09:39:06 +0200 |
| commit | 36aa9a4fc012db3eeb9cb34841e7988315176496 (patch) | |
| tree | f94abc8a001058d3520b680501ecef098b61fa9f /meta-systemd | |
| parent | 14a5f1174c96f25c7dffc17902043f9be0e716f6 (diff) | |
| download | meta-openembedded-36aa9a4fc012db3eeb9cb34841e7988315176496.tar.gz | |
lighttpd: move systemd support to meta-systemd
Diffstat (limited to 'meta-systemd')
| -rw-r--r-- | meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service | 13 | ||||
| -rw-r--r-- | meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.31.bbappend | 10 |
2 files changed, 23 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service b/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service new file mode 100644 index 0000000000..f4564f3f7d --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd/lighttpd.service | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | [Unit] | ||
| 2 | Description=Lightning Fast Webserver With Light System Requirements | ||
| 3 | After=syslog.target | ||
| 4 | |||
| 5 | [Service] | ||
| 6 | Type=oneshot | ||
| 7 | EnvironmentFile=-/etc/sysconfig/lighttpd | ||
| 8 | ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd.conf | ||
| 9 | RemainAfterExit=yes | ||
| 10 | |||
| 11 | [Install] | ||
| 12 | WantedBy=multi-user.target | ||
| 13 | |||
diff --git a/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.31.bbappend b/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.31.bbappend new file mode 100644 index 0000000000..b016bdc2fb --- /dev/null +++ b/meta-systemd/meta-oe/recipes-extended/lighttpd/lighttpd_1.4.31.bbappend | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
| 2 | |||
| 3 | PRINC := "${@int(PRINC) + 2}" | ||
| 4 | |||
| 5 | inherit systemd | ||
| 6 | |||
| 7 | SRC_URI += "file://lighttpd.service" | ||
| 8 | |||
| 9 | SYSTEMD_PACKAGES = "${PN}" | ||
| 10 | SYSTEMD_SERVICE_${PN} = "lighttpd.service" | ||
