You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently the build produces a main.exe binary which will later be renamed to xapi-storage-script, and that original build artifact is run as main.exe --help=groff to produce the manpage. However, at least the default config file name appears to be derived from argv[0], as the install manpage reads:
OPTIONS
--config=VAL (absent=/etc/main.exe.conf)
Location of configuration file
The text was updated successfully, but these errors were encountered:
Hmm, 'dune' only allows to run executables through their private, not their public name.
One fix might be to rename the private name to match the public one, although that'd require renaming 'main.ml' (not just for xapi-storage-script, but in general).
Actually you can run via the public name if you use 'dune exec ' without ./ in front. Except not for 'xapi-storage-script' because that uses 'install' rules instead of defining a public name.
Can you try whether something like this would work (although might now install the file under 2 names, both bin/ and sbin/):
Apparently the build produces a
main.exe
binary which will later be renamed toxapi-storage-script
, and that original build artifact is run asmain.exe --help=groff
to produce the manpage. However, at least the default config file name appears to be derived fromargv[0]
, as the install manpage reads:The text was updated successfully, but these errors were encountered: