Menu

#6 Read configuration automatic locate

0.31
closed
D. Lehne
None
1
2014-12-15
2014-12-15
D. Lehne
No

The configuration will locate automatically by default. The location folder is defined on build process by --sysconfdir=/etc.

On runtime the argv[0] isn't set on console with absolute path, so the configuration could not found.
As service the argv[0] serves this information and the program is running.

Discussion

  • D. Lehne

    D. Lehne - 2014-12-15

    The actual way to fix this, is to try first argv[0] for absolute path. Otherwise the cwd will fetched by the program.

    This is fixed in revision 86.

     
  • D. Lehne

    D. Lehne - 2014-12-15
    • status: accepted --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.