Closed troglobit closed 2 years ago
Will you use something like /usr/lib/finit/plugins and /usr/local/lib/finit/plugins?
Will it just automatically load all plugins in there or will there be a way to specify the plugins in the config file?
Yes exactly, the default is whatever you call configure with, the --libdir
option sets the install directory, which in turn is based on --prefix
, iirc. So adding a default search path based on /usr/lib/finit/plugins
and /usr/local/lib/finit/plugins
feels like a good idea. Plugins are loaded waaaaaay before any .conf file can be read, so it has to be a configure/compiple-time thing. So maybe expose it in the configure script?
Compile time setting makes sense :)
Now that https://github.com/troglobit/finit-plugins exist we need to be able to look for plugins in other directories as well as the default.