Changeset 9a4c0d91


Ignore:
Timestamp:
10/05/2019 10:11:21 PM (5 years ago)
Author:
Douglas R. Reno <renodr@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 9.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, 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:
b0b73b1
Parents:
c814c14
Message:

systemd: Adjust the fcron page to use --with-piddir=/run instead of a sed command. This is much cleaner and more elegant, and 'systemctl start fcron' now works without hanging systemctl.

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    rc814c14 r9a4c0d91  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "04">                   <!-- Always 2 digits -->
     3<!ENTITY day          "05">                   <!-- Always 2 digits -->
    44<!ENTITY month        "10">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2019">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "October 4th, &year;">
     9<!ENTITY releasedate  "October 5th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • general/sysutils/fcron.xml

    rc814c14 r9a4c0d91  
    135135            --localstatedir=/var   \
    136136            --without-sendmail     \
     137            --with-piddir=/run     \
    137138            --with-boot-install=no &amp;&amp;
    138139make</userinput></screen>
     
    143144
    144145<screen role="root"><userinput>make install</userinput></screen>
    145 
    146     <para revision="systemd">Finally, fix a big in the systemd unit:</para>
    147 
    148 <screen revision="systemd" role="root"><userinput>sed -i 's:/var/run/fcron.pid:/run/fcron.pid:' \
    149    /lib/systemd/system/fcron.service</userinput></screen>
    150146
    151147    <para>DESTDIR install must be done as <systemitem class="username">root</systemitem> user.</para>
     
    170166    <para><parameter>--with-boot-install=no</parameter>: This prevents
    171167    installation of the bootscript included with the package.</para>
     168
     169    <para revision="systemd"><parameter>--with-piddir=/run</parameter>:
     170    This fixes the systemd unit to use the proper directory for PID files so
     171    that systemctl does not hang and the unit starts correctly.</para>
    172172
    173173    <para revision="sysv"><parameter>--with-systemdsystemunitdir=no</parameter>:
  • introduction/welcome/changelog.xml

    rc814c14 r9a4c0d91  
    4242    </listitem>
    4343-->
     44    <listitem revision="systemd">
     45    <!-- The next person to make a change that affects both init systems today
     46         needs to adjust accordingly. -->
     47      <para>October 5th, 2019</para>
     48      <itemizedlist>
     49        <listitem>
     50          <para>[renodr] - Update the fcron page to use a cleaner and more
     51          effective method of updating the PID directory in the fcron systemd
     52          unit.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
     56
    4457    <listitem>
    4558      <para>October 4th, 2019</para>
Note: See TracChangeset for help on using the changeset viewer.