SUSE / lrbd

GNU Lesser General Public License v2.1
24 stars 19 forks source link

honor /etc/sysconfig/lrbd from command line #9

Open swiftgist opened 7 years ago

swiftgist commented 7 years ago

Custom options such as keyrings can already be added to LRBD_OPTIONS in /etc/sysconfig/lrbd. This works fine for systemd commands.

Running lrbd at the command line can be a little cumbersome having to specify the same options again. These should be pulled into the environment, but still allow command line options to override them. An info/warning should likely inform the user what the real/equivalent command being run is. That likely means we need an option to disable this as well.

The man page will need an update.