Author: renodr
Date: Tue Oct 15 15:27:47 2019
New Revision: 22253

Log:
systemd-units: Remove git-daemon unit since it's no longer part of BLFS
Adjust the httpd unit to no longer use a PID File since it's not used.

Deleted:
   trunk/systemd-units/blfs/units/git-daemon.socket
   trunk/systemd-units/blfs/units/git-daemonat.service
Modified:
   trunk/systemd-units/ChangeLog
   trunk/systemd-units/Makefile
   trunk/systemd-units/blfs/units/httpd.service

Modified: trunk/systemd-units/ChangeLog
==============================================================================
--- trunk/systemd-units/ChangeLog       Tue Oct 15 10:32:59 2019        (r22252)
+++ trunk/systemd-units/ChangeLog       Tue Oct 15 15:27:47 2019        (r22253)
@@ -1,3 +1,7 @@
+2019-10-15 Douglas R. Reno <ren...@linuxfromscratch.org>
+   * Remove the PIDFile argument from httpd as it is no longer needed.
+   * Remove git-daemon service since we no longer support it.
+
 2019-10-01 Douglas R. Reno <ren...@linuxfromscratch.org>
    * Remove obsolete kdm service
    * Remove obsolete tor service (note that it was never part of BLFS)

Modified: trunk/systemd-units/Makefile
==============================================================================
--- trunk/systemd-units/Makefile        Tue Oct 15 10:32:59 2019        (r22252)
+++ trunk/systemd-units/Makefile        Tue Oct 15 15:27:47 2019        (r22253)
@@ -54,11 +54,6 @@
        install -m ${CONFMODE} blfs/units/exim.service ${UNITSDIR}/
        test -n "${DESTDIR}" || systemctl enable exim.service
 
-install-git: create-dirs
-       install -m ${CONFMODE} blfs/units/git-daemonat.service 
${UNITSDIR}/git-daemon@.service
-       install -m ${CONFMODE} blfs/units/git-daemon.socket ${UNITSDIR}/
-       test -n "${DESTDIR}" || systemctl enable git-daemon.socket
-
 install-gpm: create-dirs
        install -m ${CONFMODE} blfs/units/gpm.service ${UNITSDIR}/
        test -n "${DESTDIR}" || systemctl enable gpm.service
@@ -231,11 +226,6 @@
        test -n "${DESTDIR}" || systemctl disable exim.service
        rm -f ${UNITSDIR}/exim.service
 
-uninstall-git:
-       test -n "${DESTDIR}" || systemctl stop git-daemon.socket
-       test -n "${DESTDIR}" || systemctl disable git-daemon.socket
-       rm -f ${UNITSDIR}/git-daemon@.service ${UNITSDIR}/git-daemon.socket
-
 uninstall-gpm:
        test -n "${DESTDIR}" || systemctl stop gpm.service
        test -n "${DESTDIR}" || systemctl disable gpm.service
@@ -389,7 +379,6 @@
        install-dhcpcd \
        install-dhcpd \
        install-exim \
-       install-git \
        install-gpm \
        install-httpd \
        install-iptables \
@@ -420,7 +409,6 @@
        uninstall-dhcpcd \
        uninstall-dhcpd \
        uninstall-exim \
-       uninstall-git \
        uninstall-gpm \
        uninstall-httpd \
        uninstall-iptables \

Modified: trunk/systemd-units/blfs/units/httpd.service
==============================================================================
--- trunk/systemd-units/blfs/units/httpd.service        Tue Oct 15 10:32:59 
2019        (r22252)
+++ trunk/systemd-units/blfs/units/httpd.service        Tue Oct 15 15:27:47 
2019        (r22253)
@@ -4,7 +4,6 @@
 
 [Service]
 Type=forking
-PIDFile=/run/httpd/httpd.pid
 ExecStart=/usr/sbin/apachectl start
 ExecStop=/usr/sbin/apachectl graceful-stop
 ExecReload=/usr/sbin/apachectl graceful
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to