Что делает «systemctl daemon-reload»?

Это потому что у них нет этого в файле bower.json, я не знаком с Ximera, но посмотрите на bower.json bile

$ sudo vi /opt/ximera/bower.json

{
    "name": "ximera",
    "version": "0.0.1",
    "dependencies": {
        "requirejs": "*",
        "almond": "*",
        "moment": "*",
        "lex": "https://github.com/aaditmshah/lexer.git",
        "jquery": "*",
        "less": "*",
        "jquery-ui": "*",
        "eonasdan-bootstrap-datetimepicker": "*",
        "bootstrap": "3.3.4",
        "underscore": "1.6.0",
        "socket.io-client": "*",
        "font-awesome": "*",
        "sly": "*",
        "isotope": "*",
        "jquery-fullsizable": "*",
        "threejs": "https://github.com/mrdoob/three.js.git",
        "pagedown-bootstrap": "https://github.com/tchapi/pagedown-bootstrap.git",
        "syntaxhighlighter": "https://github.com/alexgorbatchev/syntaxhighlighter.git",
        "js-quantities": "*",
        "codemirror": "3.22.0",
        "skulpt": "*",
        "async": "*",
        "math-expressions": "https://github.com/kisonecat/math-expressions.git",
        "JavaScript-MD5": "*"
    }
}

Есть только math-epxression Пожалуйста, спросите ребят из Ximera о Mathquill

57
13.05.2017, 06:47
1 ответ

man systemctl говорит:

   daemon-reload
       Reload systemd manager configuration. This will rerun all generators (see systemd.generator(7)), reload
       all unit files, and recreate the entire dependency tree. While the daemon is being reloaded, all sockets
       systemd listens on behalf of user configuration will stay accessible.

       This command should not be confused with the reload command.

Итак, по сути, это "мягкая" перезагрузка; получение измененных конфигураций из файловой системы и повторное создание деревьев зависимостей .

Следовательно, systemd.generator утверждает:

Генераторы — это небольшие двоичные файлы, которые находятся в /usr/lib/systemd/user-generators/ и других перечисленных каталогах. выше. systemd(1) будет выполнять эти двоичные файлы очень рано при загрузке и во время перезагрузки конфигурации — до загружаются юнит-файлы. Генераторы могут динамически генерировать юнит-файлы или создавать символические ссылки на юнит-файлы. чтобы добавить дополнительные зависимости, тем самым расширяя или переопределяя существующие определения. Их основная цель состоит в том, чтобы динамически преобразовывать файлы конфигурации, которые не являются собственными файлами модулей, в собственные файлы модулей.

   Generators are loaded from a set of paths determined during compilation, listed above. System and user
   generators are loaded from directories with names ending in system-generators/ and user-generators/,
   respectively. Generators found in directories listed earlier override the ones with the same name in
   directories lower in the list. A symlink to /dev/null or an empty file can be used to mask a generator,
   thereby preventing it from running. Please note that the order of the two directories with the highest
   priority is reversed with respect to the unit load path and generators in /run overwrite those in /etc.

   After installing new generators or updating the configuration, systemctl daemon-reload may be executed. This
   will delete the previous configuration created by generators, re-run all generators, and cause systemd to
   reload units from disk. See systemctl(1) for more information.
91
27.01.2020, 19:33

Теги

Похожие вопросы