Module: sems Branch: master Commit: a21c889be30465a80e998393f502b7f49d410222 URL: https://github.com/sems-server/sems/commit/a21c889be30465a80e998393f502b7f49d410222
Author: Juha Heinanen <j...@tutpro.com> Committer: Juha Heinanen <j...@tutpro.com> Date: 2015-09-29T17:05:41+03:00 apps/dsm: added sems-dsm-reload tool (cherry picked from commit 1b883938ed5b9367c0ff4da24e7e83f031e6b855) --- Added: apps/dsm/tools/Makefile Added: apps/dsm/tools/sems-dsm-reload --- Diff: https://github.com/sems-server/sems/commit/a21c889be30465a80e998393f502b7f49d410222.diff Patch: https://github.com/sems-server/sems/commit/a21c889be30465a80e998393f502b7f49d410222.patch --- diff --git a/apps/dsm/tools/Makefile b/apps/dsm/tools/Makefile new file mode 100644 index 0000000..66cb30c --- /dev/null +++ b/apps/dsm/tools/Makefile @@ -0,0 +1,17 @@ +COREPATH_TOOLS ?= ../../../core +include $(COREPATH_TOOLS)/../Makefile.defs + +monitoring_scripts = $(wildcard sems-*) + +all: install_tools +install: install_tools + +install_tools: $(DESTDIR)$(bin-prefix)/$(bin-dir) + -@for r in $(monitoring_scripts) ; do \ + x=`echo $$r | sed s/sems-/$(APP_NAME)-/g` ; \ + echo "installing $$r -> $$x" ; \ + $(INSTALL-TOUCH) $(DESTDIR)$(bin-prefix)/$(bin-dir)/$$x ; \ + $(INSTALL-BIN) $$r $(DESTDIR)$(bin-prefix)/$(bin-dir)/$$x ; \ + done + + diff --git a/apps/dsm/tools/sems-dsm-reload b/apps/dsm/tools/sems-dsm-reload new file mode 100755 index 0000000..5c0813e --- /dev/null +++ b/apps/dsm/tools/sems-dsm-reload @@ -0,0 +1 @@ +sems-stats -c "DI dsm reloadDSMs" _______________________________________________ Semsdev mailing list Semsdev@lists.iptel.org http://lists.iptel.org/mailman/listinfo/semsdev