6eca27e564
* [service] Restart SwSS Docker container if orchagent exits unexpectedly * Configure systemd to stop restarting swss if it attempts to restart more than 3 times in 20 minutes * Move supervisor-proc-exit-listener script * [docker-dhcp-relay] Enhance wait_for_intf.sh.j2 to utilize STATEDB * Ensure dependent services stop/start/restart with SwSS * Change 'StartLimitInterval' to 'StartLimitIntervalSec', as Stretch installs systemd 232 (>= v230) * Also update journald.conf options * Remove 'PartOf' option from unit files * Add '$(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)' to new shared docker-orchagent makefile * Make supervisor-proc-exit-listener script read from 'critical_processes' file inside container * Update critical_processes file for swss container
24 lines
727 B
Makefile
24 lines
727 B
Makefile
|
|
ARP_UPDATE_SCRIPT = arp_update
|
|
$(ARP_UPDATE_SCRIPT)_PATH = files/scripts
|
|
|
|
CONFIGDB_LOAD_SCRIPT = configdb-load.sh
|
|
$(CONFIGDB_LOAD_SCRIPT)_PATH = files/scripts
|
|
|
|
BUFFERS_CONFIG_TEMPLATE = buffers_config.j2
|
|
$(BUFFERS_CONFIG_TEMPLATE)_PATH = files/build_templates
|
|
|
|
QOS_CONFIG_TEMPLATE = qos_config.j2
|
|
$(QOS_CONFIG_TEMPLATE)_PATH = files/build_templates
|
|
|
|
SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT = supervisor-proc-exit-listener
|
|
$(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)_PATH = files/scripts
|
|
|
|
SONIC_COPY_FILES += $(CONFIGDB_LOAD_SCRIPT) \
|
|
$(ARP_UPDATE_SCRIPT) \
|
|
$(BUFFERS_CONFIG_TEMPLATE) \
|
|
$(QOS_CONFIG_TEMPLATE) \
|
|
$(SUPERVISOR_PROC_EXIT_LISTENER_SCRIPT)
|
|
|
|
|