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.servicefile in a text editor such asvi.For example, on RHEL 7, the
saslauthd.servicefile 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.serviceBindsTo=secfs-fs-barrier.serviceFor example, on RHEL 7, the
saslauthd.servicefile might have the following existing[Unit]section:[Unit]After=syslog.targetAfter=network.targetIn this case, you would add the two new lines after
After=network.target. -
Save and close the
saslauthd.servicefile. -
To force the system to re-read the
systemdconfiguration 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.