Changeset 9a4c0d91 for general/sysutils


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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>:
Note: See TracChangeset for help on using the changeset viewer.