Skip to content

wms plugin

Your own programs: wms foo runs wms-foo, and enabled plugins can react to events

Put an executable named wms- in the plugin folder (WMS_PLUGIN_DIR, default /root/docker-server/wms/plugins). It does nothing until you review and enable it, which pins its checksum; if the file changes it refuses to run until you enable it again. Plugins get a scrubbed environment (no keys or settings), a 10-second limit for hooks, and run as an unprivileged user when wms runs as root. Events: part_added, part_updated, low_stock, price_drop, backup_done, catalog_refreshed. A hook is run as wms-<name> hook <event> with the event as JSON on stdin.

wms plugin

Subcommands