Service control for the automounter
If a SysV init script system is being used:
or if the systemd init system is being used:
controls the operation of the
daemon(s) running on the Linux system. Usually
is invoked at system boot time with the
parameter and at shutdown time with the
parameter. Service control actions can also be manually invoked by
the system administrator to shut down, restart, reload or obtain
will consult a configuration file
by default to find mount points on the system. For each of those mount points
will mount and start a thread, with the appropriate parameters, to
manage the mount point.
systemctl autofs.service reload
will check the current auto.master map against the current automount managed
mounts. It will terminate those daemons or threads (depending on
version) whose entries have been removed, re-read the automount maps for
entries that have changed and start new daemons or threads for entries
that have been added.
If an indirect map is modified then the change will become effective immediately.
If an indirect map uses the
option, the master map contains direct mount maps or the
map is modified then the
service control reload action must be rerun to activate the changes.
systemctl autofs.service status
will display the status of,
running or not. When using the systemd init system the status output includes
somewhat more information related to the service status.
has more functions than the actions mentioned here, see
for more information.
This manual page was written by Christoph Lameter <firstname.lastname@example.org>,
for the Debian GNU/Linux system. Edited by H. Peter Anvin
<email@example.com> and Ian Kent <firstname.lastname@example.org>.