Adding Dependencies to the saslauthd.service File
The saslauthd
service must start after the secfs-fs-barrier
service.
-
As a root user, open the
saslauthd.service
file in a text editor such asvi
.For example, on RHEL 7, the
saslauthd.service
file is located in/usr/lib/systemd/system/saslauthd.service
. -
Locate the
[Unit]
area in the file and add the following two lines at the end of the[Unit]
section:After=secfs-fs-barrier.service
BindsTo=secfs-fs-barrier.service
For example, on RHEL 7, the
saslauthd.service
file might have the following existing[Unit]
section:[Unit]
After=syslog.target
After=network.target
In this case, you would add the two new lines after
After=network.target
. -
Save and close the
saslauthd.service
file. -
To force the system to re-read the
systemd
configuration files that you changed in this section and the previous section, typesystemctl daemon-reload
. -
Start each application that you shut down to make the configuration changes.