Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.8
Sv translation
languageru

Чтобы включить/отключить автозапуск процесса (пример приведен для службы iw_snifferproxy):

  • Для корректной смены параметров остановите серверные процессы Personal Data Protector:
    service iwtm stop
  • В файле /opt/iw/tm5/etc/sniffer.conf выполните настройки:
    Чтобы включить автозапуск для процесса, установите в блоке процесса:
    "Startup" : {"Enabled" : true}
    Чтобы отключить автозапуск для процесса, установите в блоке процесса:
    "Startup" : {"Enabled" : false}

    Предупреждение
    titleВажно!

    Для службы iw_proxy включение и выключение компонентов выполняется следующим образом:

    • "Startup" : {"Enabled" : true, "http" : true, "icq" : true, "smtp" : true} – включение всех модулей;
    • "Startup" : {"Enabled" : true, "http" : true, "icq" : false, "smtp" : false} – включение модуля iw_proxy_http;
    • "Startup" : {"Enabled" : false, "http" : true, "icq" : false, "smtp" : false} – выключение всех модулей.
  • Запустите процессы Personal Data Protector:
    service iwtm start 

    Служба iw_proxy состоит из трех компонентов: iw_proxy_http, iw_proxy_icq, iw_proxy_smtp. Поэтому:

    1. Для возможности автозапуска процесса (например, iw_proxy_http) необходимо установить ему статус enable, выполнив команду:
      iwtm enable iw_proxy_http

      Чтобы отключить возможность автозапуска процесса, установите статус disable:
      iwtm disable iw_proxy_http

    2. Перезапустите службу iw_proxy:
      iwtm restart iw_proxy

    Все процессы Traffic Monitor со статусом enable подлежат автозапуску, а процессы со статусом disable могут быть запущены только вручную. 

    Чтобы настроить автозапуск процесса:

    1. Директория хранения unit-файлов: /usr/lib/systemd/system. Внесите изменения в unit-файл нужного процесса, (см. "Описание конфигурационных и unit-файлов демонов Traffic Monitor") и сохраните его.
    2. Выполните перезагрузку конфигурации:
      systemctl daemon-reload
    3. Добавьте настроенный процесс в автозапуск:
      iwtm enable <имя_демона>
    4. Запустите процесс:
      iwtm start <имя_демона>
    5. Проверить, запустился ли сервис, можно любой из команд:
      systemctl status <имя_демона>
      iwtm status

    Чтобы включить автозапуск сразу нескольких процессов, введите:

     iwtm enable <имя_демона1> <имя_демона2> ... <имя_демонаN>

    Чтобы выключить автозапуск сразу нескольких процессов, введите:

     iwtm disable <имя_демона1> <имя_демона2> ... <имя_демонаN>

    Чтобы включить автозапуск всех процессов в Системе, введите:

    iwtm enable all

    Чтобы выключить автозапуск всех процессов в Системе, введите:
    iwtm disable all
     

    Sv translation
    languageen

    To enable/disable process autorun (the example below is for iw_sniffer proxy service):

  • For correct setting modification stop Personal Data Protector server processes:
    service iwtm stop
  • In /opt/iw/tm5/etc/sniffer.conf file complete the settings

    The iw_proxy service includes the following three components: iw_proxy_http, iw_proxy_icq, iw_proxy_smtp. For this reason:

    1. To enable the autorun of for a process , in the process section set:
      "Startup" : {"Enabled" : true}
      To disable the autorun of a process, in the process section set:
      "Startup" : {"Enabled" : false}

      Предупреждение
      titleWarning!

      The enabling and disabling of iw_proxy service’s modules is performed in the following way:

      • "Startup" : {"Enabled" : true, "http" : true, "icq" : true, "smtp" : true}
        –  enabling all modules;
      • "Startup" : {"Enabled" : true, "http" : true, "icq" : false, "smtp" : false}
        – enabling iw_proxy_http module;
      • "Startup" : {"Enabled" : false, "http" : true, "icq" : false, "smtp" : false}
        – disabling all modules.

      Start Personal Data Protector Server processes:
      service iwtm start(e.g., for iw_proxy_http) set the enable status for the process with the following command:
      iwtm enable iw_proxy_http

      To disable autorun, set the disable status for the process:
      iwtm disable iw_proxy_http

    2. Restart iw_proxy service:
      iwtm restart iw_proxy

    All Traffic Monitor processes with the enable status can run automatically, while processes with the disable status can only be started manually.

    To configure the process autorun:

    1. Unit files are stored in the /usr/lib/systemd/system directory. Edit the process unit file (for details, see "Traffic Monitor configuration files") and save the file.
    2. Reboot the configuration:
      systemctl daemon-reload
    3. Add the configured process to autorun:
      iwtm enable <process_name>
    4. Start the process:
      iwtm start <process_name>
    5. Check if the process is started with one of the following commands:
      systemctl status <process_name>
      iwtm status

    To enable autorun of few processes, enter as follows:

     iwtm enable <daemon1_name> <daemon2_name> ... <daemonN_name>

    To disable autorun of few processes in the System, enter the following command:

    iwtm disable <daemon1_name> <daemon2_name> ... <daemonN_name>

    To enable autorun of all the processes in the System, enter the following command:

    iwtm enable all

    To disable autorun of all the processes in the System, enter the following command:

    iwtm disable all