HomeFreeBSD

rc.d/sendmail: Fix stopping service during shutdown

Description

rc.d/sendmail: Fix stopping service during shutdown

The sendmail service script needs to be stopped during shutdown
to ensure a clean shutdown of active SMTP connections (and writing
any in memory queue files).

rcorder(8) requires the rcorder block to be an uninterrupted sequence of
REQUIRE, PROVIDE, BEFORE, and KEYWORD lines. Having a comment in between
REQUIRE and KEYWORD makes rcorder stop parsing the block when it reaches
the comment.

Fix that by moving the comment out from the rcorder block.

Reviewed by: bnovkov, christos, gshapiro, markj
Approved by: bnovkov (mentor), christos (mentor), markj (mentor)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D46924

Details

Provenance
0mpAuthored on Oct 4 2024, 12:26 PM
Reviewer
bnovkov
Differential Revision
D46924: rc.d/sendmail: Fix the rcorder block
Parents
rGff2263469ad0: Revert "vfs_subr: optimize inval_buf_range"
Branches
Unknown
Tags
Unknown