Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
titleExample json file
linenumberstrue
collapsetrue
{
	"plugins": {
		"f21873f370693661863909d413dbdc50": {
			"author_email": "git@loxberry.woerstenfeld.de",
			"author_name": "M.Schlenstedt und C.Woerstenfeld",
			"autoupdate": "4",
			"directories": {
				"lbpbindir": "/opt/loxberry/bin/plugins/miniserverbackup",
				"lbpconfigdir": "/opt/loxberry/config/plugins/miniserverbackup",
				"lbpdatadir": "/opt/loxberry/data/plugins/miniserverbackup",
				"lbphtmlauthdir": "/opt/loxberry/webfrontend/htmlauth/plugins/miniserverbackup",
				"lbphtmldir": "/opt/loxberry/webfrontend/html/plugins/miniserverbackup",
				"lbplogdir": "/opt/loxberry/log/plugins/miniserverbackup",
				"lbptemplatedir": "/opt/loxberry/templates/plugins/miniserverbackup",
				"installfiles": "/opt/loxberry/data/system/install/miniserverbackup"
			},
			"files": {
				"daemon": "/opt/loxberry/system/daemons/plugins/miniserverbackup",
				"sudoers": "/opt/loxberry/system/sudoers/miniserverbackup",
				"uninstall": "/opt/loxberry/data/system/uninstall/miniserverbackup"
			},
			"folder": "miniserverbackup",
			"interface": "2.0",
			"loglevel": "5",
			"loglevels_enabled": 1,
			"md5": "f21873f370693661863909d413dbdc50",
			"name": "miniserverbackup",
			"prereleasecfg": "https://raw.githubusercontent.com/Woersty/LoxBerry-Plugin-miniserverbackup/master/prerelease.cfg",
			"releasecfg": "https://raw.githubusercontent.com/Woersty/LoxBerry-Plugin-miniserverbackup/master/release.cfg",
			"title": "Miniserver Backup",
			"version": "2019.6.5.1"
		}
	}
}

Monitor changes of plugins

If your plugin (e.g. a running daemon) requires to monitor, if a plugin was installed, updated or removed, instead of continuously reading the plugindatabase.json, you should prefer to monitor our change tracking file: plugins_state.json - Monitor plugin installations, updates, uninstalls

Performance considerations

...