.. _embed: Configure ``findface-facerouter`` to Use Plugins ====================================================== .. important:: Be sure to :ref:`change ` the Tarantool database structure prior, according to the processing directive in the plugin. .. important:: The ``findface-facerouter`` component must be :ref:`installed and configured `. To configure ``findface-facerouter`` to use plugins, do the following: #. Put a plugin into a directory of your choice. All plugins in use have to be in the same directory. #. Open the ``/etc/findface-facerouter.py`` configuration file. Uncomment the ``plugin_dir`` parameter and specify the plugin directory. .. warning:: The ``findface-facerouter.py`` content must be correct Python code. .. code:: sudo vi /etc/findface-facerouter.py plugin_dir = '/etc/findface/plugins/' #. Restart ``findface-facerouter``. .. code:: sudo systemctl restart findface-facerouter.service