Ignore:
Timestamp:
06/12/2016 05:01:25 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:
77a91cb
Parents:
bed608b0
Message:

[Systemd merge] - cups

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/printing/cups.xml

    rbed608b0 r3ace4c5  
    215215    </para>
    216216
    217 <screen><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in                                  &amp;&amp;
     217<screen revision="sysv"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in                                  &amp;&amp;
    218218sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4          &amp;&amp;
    219219sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4                        &amp;&amp;
     
    231231make</userinput></screen>
    232232
     233<screen revision="systemd"><userinput>sed -i 's:555:755:g;s:444:644:g' Makedefs.in
     234&amp;&amp;
     235sed -i '/MAN.EXT/s:.gz::g' configure config-scripts/cups-manpages.m4
     236&amp;&amp;
     237sed -i '/LIBGCRYPTCONFIG/d' config-scripts/cups-ssl.m4
     238&amp;&amp;
     239aclocal  -I config-scripts &amp;&amp;
     240autoconf -I config-scripts &amp;&amp;
     241
     242CC=gcc \
     243./configure --libdir=/usr/lib            \
     244            --with-rcdir=/tmp/cupsinit   \
     245            --with-system-groups=lpadmin \
     246            --with-docdir=/usr/share/cups/doc-&cups-version; &amp;&amp;
     247make</userinput></screen>
     248
    233249    <para>
    234250      To test the results, issue: <command>make -k check</command>. An already
     
    293309    </para>-->
    294310
    295     <para>
     311    <para revision="sysv">
    296312      <parameter>--disable-systemd</parameter>: Systemd is not supported by
    297313      BLFS.
     
    403419
    404420    <sect3 id="cups-init">
    405       <title>Boot Script</title>
     421      <title><phrase revision="sysv">Boot Script</phrase>
     422             <phrase revision="systemd">Systemd Unit</phrase></title>
     423
     424      <para revision="sysv">
     425        If you want the <application>Cups</application> print service to start
     426        automatically when the system is booted, install the init script
     427        included in the <xref linkend="bootscripts"/> package:
     428      </para>
    406429
    407430      <para>
    408         If you want the <application>Cups</application> print service to start
    409         automatically when the system is booted, install the init
    410         script included in the <xref linkend="bootscripts" revision="sysv"/>
    411         <xref linkend="systemd-units" revision="systemd"/>
    412         package:
     431        To start the <command>cupsd</command> daemon when something tries to
     432        access it, enable the previously installed systemd units by running
     433        the following command as the
     434        <systemitem class="username">root</systemitem> user:
    413435      </para>
    414436
     
    417439      </indexterm>
    418440
    419 <screen role="root"><userinput>make install-cups</userinput></screen>
     441<screen role="root" revision="sysv"><userinput>make install-cups</userinput></screen>
     442
     443<screen role="root" revision="systemd"><userinput>systemctl enable org.cups.cupsd</userinput></screen>
    420444
    421445    </sect3>
Note: See TracChangeset for help on using the changeset viewer.