X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=systemd.patch;fp=systemd.patch;h=09b1496ae6d7a7f37891a9b809b7353f9809a9ed;hb=b1fb5833fea99684b0cafdad5b5e632112ede6a0;hp=ee198dc0c3d6c8cb09e1d281fd8e32886d2800e7;hpb=710a796593dff12c3dcdf0423aef12d860457c75;p=packages%2Flighttpd.git diff --git a/systemd.patch b/systemd.patch index ee198dc..09b1496 100644 --- a/systemd.patch +++ b/systemd.patch @@ -1,14 +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 @@ - +--- lighttpd-1.4.45/doc/systemd/lighttpd.service~ 2017-10-14 19:59:01.000000000 +0300 ++++ lighttpd-1.4.45/doc/systemd/lighttpd.service 2017-10-14 19:59:43.077416066 +0300 +@@ -5,8 +5,9 @@ [Service] Type=simple + PIDFile=/var/run/lighttpd.pid -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 + ExecReload=/bin/kill -USR1 $MAINPID Restart=on-failure - [Install]