• Как отловить создание элемента?

    @sElijah
    навскидку так:
    var timerId = setInterval(function() {
    		if ( $('.selector').length ){
    			$('.selector').remove();
    			clearInterval(timerId)
    		}
    	}, 1000);
  • Не запускается systemd-networkd на этапе загрузки но успешно запускается после. Как исправить?

    @sElijah Автор вопроса
    majetree:
    # journalctl -b -u systemd-networkd.service
    -- Logs begin at Thu 2017-03-02 18:08:31 MSK, end at Thu 2017-03-02 20:29:05 MSK. --
    мар 02 18:08:33 debian systemd[1]: Starting Network Service...
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=1/FAILURE
    мар 02 18:08:34 debian systemd[1]: Failed to start Network Service.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Unit entered failed state.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Service has no hold-off time, scheduling restart.
    мар 02 18:08:34 debian systemd[1]: Stopped Network Service.
    мар 02 18:08:34 debian systemd[1]: Starting Network Service...
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=1/FAILURE
    мар 02 18:08:34 debian systemd[1]: Failed to start Network Service.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Unit entered failed state.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Service has no hold-off time, scheduling restart.
    мар 02 18:08:34 debian systemd[1]: Stopped Network Service.
    мар 02 18:08:34 debian systemd[1]: Starting Network Service...
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=1/FAILURE
    мар 02 18:08:34 debian systemd[1]: Failed to start Network Service.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Unit entered failed state.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Failed with result 'exit-code'.
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Service has no hold-off time, scheduling restart.
    мар 02 18:08:34 debian systemd[1]: Stopped Network Service.
    мар 02 18:08:34 debian systemd[1]: Starting Network Service...
    мар 02 18:08:34 debian systemd[1]: systemd-networkd.service: Main process exited, code=exited, status=1/FAILURE


    Для логирования создавал:
    # cat /etc/systemd/system/systemd-networkd.service.d/10-debug.conf
    [Service]
    Environment=SYSTEMD_LOG_LEVEL=debug