Changeset 1aab91a


Ignore:
Timestamp:
07/20/2014 04:38:15 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.6-blfs, 7.6-systemd, kde5-14269, kde5-14686, systemd-13485
Children:
25caf25
Parents:
0e466f67
Message:

Convert php to systemd.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13515 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • general/prog/php-systemd.xml

    r0e466f67 r1aab91a  
    383383
    384384    <sect3  id="php-init">
    385       <title>Boot Script</title>
     385      <title>Systemd Units</title>
    386386
    387387      <para>
    388         To automatically start the <command>php-fpm</command> daemon when the
    389         system is rebooted, install the
    390         <filename>/etc/rc.d/init.d/php</filename> bootscript from the
    391         <xref linkend="bootscripts"/> package as the
     388        To start the <command>php-fpm</command> daemon at boot,
     389        install the systemd unit from the <xref linkend="bootscripts"/>
     390        package by running the following command as the
    392391        <systemitem class="username">root</systemitem> user:
    393392      </para>
    394393
    395394      <indexterm zone="php php-init">
    396         <primary sortas="f-php">php</primary>
     395        <primary sortas="f-php-fpm">php-fpm</primary>
    397396      </indexterm>
    398397
    399 <screen role="root"><userinput>make install-php</userinput></screen>
     398<screen role="root"><userinput>make install-php-fpm</userinput></screen>
    400399    </sect3>
    401400
  • general/prog/prog.xml

    r0e466f67 r1aab91a  
    4646  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="npapi-sdk.xml"/>
    4747  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl-modules.xml"/>
    48   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php.xml"/>
     48  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="php-systemd.xml"/>
    4949  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python2.xml"/>
    5050  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python3.xml"/>
  • systemd-units/Makefile

    r0e466f67 r1aab91a  
    115115        echo "ntpd.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/ntp.list
    116116        systemctl enable ntpd.service
     117
     118install-php-fpm: create-dirs
     119        install -m ${CONFMODE} blfs/units/php-fpm.service ${UNITSDIR}/
     120        systemctl enable php-fpm.service
    117121
    118122install-postfix: create-dirs
     
    283287        systemctl disable ntpd.service
    284288        rm -f ${UNITSDIR}/ntpd.service ${DESTDIR}/usr/lib/systemd/ntp-units.d/ntp.list
     289
     290uninstall-php-fpm:
     291        systemctl stop php-fpm.service
     292        systemctl disable php-fpm.service
     293        rm -f ${UNITSDIR}/php-fpm.service
    285294
    286295uninstall-postfix:
     
    388397        install-nfs-server \
    389398        install-ntp \
     399        install-php-fpm \
    390400        install-postfix \
    391401        install-postgresql \
     
    417427        uninstall-nfs-server \
    418428        uninstall-ntpd \
     429        uninstall-php-fpm \
    419430        uninstall-postfix \
    420431        uninstall-postgresql \
Note: See TracChangeset for help on using the changeset viewer.