From 36e3d63abaeafc5d2e671bad45b599c159ed10ab Mon Sep 17 00:00:00 2001 From: Muhammad Shakeel Date: Wed, 4 Sep 2013 11:05:00 +0000 Subject: lighttpd: Add systemd support - Remove dependency on meta-systemd Signed-off-by: Muhammad Shakeel Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-extended/lighttpd/files/lighttpd.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta/recipes-extended/lighttpd/files/lighttpd.service (limited to 'meta/recipes-extended/lighttpd/files/lighttpd.service') 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 @@ +[Unit] +Description=Lightning Fast Webserver With Light System Requirements +After=network.target + +[Service] +ExecStartPre=@SBINDIR@/lighttpd -t -f @SYSCONFDIR@/lighttpd.conf +ExecStart=@SBINDIR@/lighttpd -D -f @SYSCONFDIR@/lighttpd.conf +ExecReload=@BASE_BINDIR@/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3