[packages/lighttpd] add systemd.patch

glen glen at pld-linux.org
Sat Dec 24 18:56:00 CET 2016


commit 56af6b8cb614f02640a2b1990c53c08bc2daf245
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Dec 24 19:55:48 2016 +0200

    add systemd.patch
    
    forgotten from 4330480

 systemd.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/systemd.patch b/systemd.patch
new file mode 100644
index 0000000..ee198dc
--- /dev/null
+++ b/systemd.patch
@@ -0,0 +1,14 @@
+--- lighttpd-1.4.44/doc/systemd/lighttpd.service~	2016-12-24 07:26:55.000000000 +0200
++++ lighttpd-1.4.44/doc/systemd/lighttpd.service	2016-12-24 19:29:16.649733870 +0200
+@@ -4,8 +4,9 @@
+ 
+ [Service]
+ Type=simple
+-ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
+-ExecStart=/usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf
++EnvironmentFile=-/etc/sysconfig/lighttpd
++ExecStartPre=/usr/sbin/lighttpd-angel -tt -f /etc/lighttpd/lighttpd.conf
++ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
+ Restart=on-failure
+ 
+ [Install]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/56af6b8cb614f02640a2b1990c53c08bc2daf245



More information about the pld-cvs-commit mailing list