Adding Applications to the secfs-fuse.service File
After editing the systemd
unit configuration file for each dependent application, you must also add each application to the secfs-fuse.service
file that is installed as part of CTE-U. The secfs-fuse.service
file ensures that CTE-U starts before dependent applications during boot and CTE-U stops before dependent applications when the system is shut down.
-
As a root user, open the
secfs-fuse.service
file in a text editor such asvi
.For example, the
secfs-fuse.service
file is located in/usr/lib/systemd/system/secfs-fuse.service
. -
Add
saslauthd.service
along with the names of the unit configuration files that you edited in the last section to the end of the “Before=
” clause.For example, the
secfs-fuse.service
file might contain the following before editing:Before=nfs-server.service shutdown.target
To add an entry for
saslauthd.service
and two custom application services calledexample1.service
andexample2.service
, you would edit theBefore=
line to look like this:Before=nfs-server.service shutdown.target saslauthd.service example1.service example2.service
-
Save and close the
secfs-fuse.service
file.
In the future, CTE-U will start before each application listed in the Before=
line and those applications will stop before CTE-U stops.