Changeset 0098ace6


Ignore:
Timestamp:
06/09/2016 03:56:23 AM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
138bdf6
Parents:
67b8f149
Message:

[Systemd merge] - Chapter 13

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17468 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
general/prog
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general/prog/php.xml

    r67b8f149 r0098ace6  
    221221    </para>
    222222
    223 <screen><userinput>./configure --prefix=/usr                \
     223<screen revision="sysv"><userinput>./configure --prefix=/usr                \
    224224            --sysconfdir=/etc            \
    225225            --localstatedir=/var         \
     
    243243make</userinput></screen>
    244244
     245<screen revision="systemd"><userinput>./configure --prefix=/usr                \
     246            --sysconfdir=/etc            \
     247            --localstatedir=/var         \
     248            --datadir=/usr/share/php     \
     249            --mandir=/usr/share/man      \
     250            --enable-fpm                 \
     251            --with-fpm-user=apache       \
     252            --with-fpm-group=apache      \
     253            --with-fpm-systemd           \
     254            --with-config-file-path=/etc \
     255            --with-zlib                  \
     256            --enable-bcmath              \
     257            --with-bz2                   \
     258            --enable-calendar            \
     259            --enable-dba=shared          \
     260            --with-gdbm                  \
     261            --with-gmp                   \
     262            --enable-ftp                 \
     263            --with-gettext               \
     264            --enable-mbstring            \
     265            --with-readline              &amp;&amp;
     266make</userinput></screen>
    245267    <para>
    246268      To test the results, issue: <command>make test</command>. A few
     
    299321    <title>Command Explanations</title>
    300322
     323      <para revision="systemd">
     324        <command>sed -i "s|lsystemd-daemon|lsystemd|g" configure</command>:
     325        This command fixes the detection of the systemd library.
     326      </para>
     327
    301328      <para>
    302329        <parameter>--with-datadir=/usr/share/php</parameter>: This works
     
    308335        <parameter>--enable-fpm</parameter>: This parameter allows
    309336        building the fastCGI Process Manager.
     337      </para>
     338
     339      <para revision="systemd">
     340        <parameter>--with-fpm-systemd</parameter>: This parameter allows
     341        the FastCGI Process Manager to integrate with systemd.
    310342      </para>
    311343
     
    511543
    512544    <sect3  id="php-init">
    513       <title>Boot Script</title>
     545      <title><phrase revision="sysv">Boot Script</phrase>
     546             <phrase revision="systemd">Systemd Unit</phrase></title>
    514547
    515548      <para revision="sysv">
     
    522555
    523556      <para revision="systemd">
    524         To automatically start the <command>php-fpm</command> daemon when the
    525         system is rebooted, install the <filename>php-fpm.service</filename>
    526         unit from the <xref linkend="systemd-units"/> package as the
     557        To start the <command>php-fpm</command> daemon at boot,
     558        install the systemd unit from the <xref linkend="systemd-units"/>
     559        package by running the following command as the
    527560        <systemitem class="username">root</systemitem> user:
    528561      </para>
  • general/prog/ruby.xml

    r67b8f149 r0098ace6  
    8686      <xref linkend="tk"/>,
    8787      <xref linkend="valgrind"/>, and
    88       <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>
     88      <phrase revision="sysv">
     89        <ulink url="http://pyyaml.org/wiki/LibYAML">libyaml</ulink>
     90      </phrase>
     91      <phrase revision="systemd">
     92        <xref linkend="yaml"/>
     93      </phrase>
    8994    </para>
    9095
  • general/prog/svnserver.xml

    r67b8f149 r0098ace6  
    209209      <title>4. Starting the Server</title>
    210210
    211       <para>To start the server at boot time, install the svn bootscript
    212       included in the <xref linkend="bootscripts" revision="sysv"/>
    213       <xref linkend="systemd-units" revision="systemd"/> package.</para>
    214 
    215       <indexterm zone="svnserver svnserver-init">
     211      <para revision="sysv">To start the server at boot time, install the svn
     212      bootscript included in the <xref linkend="bootscripts"/> package.</para>
     213
     214      <para revision="systemd">To start the server at boot time, install the
     215      <filename>svnserve.service</filename> unit from the
     216      <xref linkend="systemd-units"/> package.</para>
     217
     218      <indexterm zone="svnserver svnserver-init" revision="sysv">
    216219        <primary sortas="f-svn">svn</primary>
    217220      </indexterm>
    218221
    219 <screen role="root"><userinput>make install-svn</userinput></screen>
     222<screen role="root" revision="sysv"><userinput>make install-svn</userinput></screen>
     223
     224      <indexterm zone="svnserver svnserver-init" revision="systemd">
     225        <primary sortas="f-svnserve">svnserve</primary>
     226      </indexterm>
     227
     228<screen role="root" revision="systemd"><userinput>make install-svnserve</userinput></screen>
     229
     230      <para revision="systemd">Additionally, the instructions above require
     231      that svn server uses <command>umask 002</command> so that all new files
     232      will be writable by owner and group. This can be achieved by creating
     233      a systemd unit override file by running the following command:</para>
     234
     235<screen role="root" revision="systemd"><userinput>mkdir -p /etc/systemd/system/svnserve.service.d
     236echo "UMask=0002" > /etc/systemd/system/svnserve.service.d/99-user.conf</userinput></screen>
     237
     238      <para revision="systemd">Options which are passed to
     239      <command>svnserve</command> daemon can be changed in
     240      <filename>/etc/default/svnserve</filename>.</para>
    220241
    221242    </sect3>
Note: See TracChangeset for help on using the changeset viewer.