]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
use upstream systemd service
authorElan Ruusamäe <glen@delfi.ee>
Sat, 24 Dec 2016 17:30:25 +0000 (19:30 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 24 Dec 2016 17:30:25 +0000 (19:30 +0200)
with our patch to use lighttpd-angel and env file

lighttpd.service [deleted file]
lighttpd.spec

diff --git a/lighttpd.service b/lighttpd.service
deleted file mode 100644 (file)
index 6f4dce9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Lighttpd Daemon
-After=network.target
-
-[Service]
-EnvironmentFile=-/etc/sysconfig/lighttpd
-ExecStartPre=/usr/sbin/lighttpd-angel -t -f /etc/lighttpd/lighttpd.conf
-ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf $HTTPD_OPTS
-ExecReload=/bin/kill -HUP $MAINPID
-
-[Install]
-WantedBy=multi-user.target
index 01c9d885209b9b43ee9c64629c13f25f2e65aa8c..f061e5dd769a8f307ab25c4ad6371ec1220821c4 100644 (file)
@@ -63,7 +63,6 @@ Source12:     %{name}.monitrc
 Source13:      branch.sh
 Source14:      TODO
 Source16:      %{name}.tmpfiles
-Source17:      %{name}.service
 Source100:     %{name}-mod_access.conf
 Source101:     %{name}-mod_accesslog.conf
 Source102:     %{name}-mod_alias.conf
@@ -112,6 +111,7 @@ Patch0:             %{name}-use_bin_sh.patch
 Patch1:                %{name}-mod_evasive-status_code.patch
 Patch2:                %{name}-mod_h264_streaming.patch
 Patch3:                %{name}-branding.patch
+Patch4:                systemd.patch
 Patch6:                test-port-setup.patch
 Patch7:                env-documentroot.patch
 URL:           http://www.lighttpd.net/
@@ -912,6 +912,7 @@ Plik monitrc do monitorowania serwera www lighttpd.
 #%patch1 -p1 UPDATE (and submit upstream!) if you need this
 %{?with_h264_streaming:%patch2 -p1}
 %patch3 -p1
+%patch4 -p1
 %patch6 -p1
 #%patch7 -p1 probably fixed upstream
 
@@ -984,7 +985,7 @@ cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/%{name}
 cp -p %{SOURCE12} $RPM_BUILD_ROOT/etc/monit/%{name}.monitrc
 cp -p %{SOURCE16} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf
-cp -p %{SOURCE17} $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
+cp -p doc/systemd/lighttpd.service $RPM_BUILD_ROOT%{systemdunitdir}/%{name}.service
 
 rm -f $RPM_BUILD_ROOT%{pkglibdir}/*.la
 
This page took 0.137801 seconds and 4 git commands to generate.