Software /
code /
prosody
Comparison
prosodyctl @ 3741:f7dd583d99b4
prosodyctl: Read PROSODY_SRCDIR and PROSODY_PLUGINDIR environment variables, to match main prosody executable.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 12 Dec 2010 17:17:20 +0500 |
parent | 3739:9ee223177319 |
child | 3742:a18acd47904b |
comparison
equal
deleted
inserted
replaced
3740:69f95537e9e4 | 3741:f7dd583d99b4 |
---|---|
9 | 9 |
10 -- prosodyctl - command-line controller for Prosody XMPP server | 10 -- prosodyctl - command-line controller for Prosody XMPP server |
11 | 11 |
12 -- Will be modified by configure script if run -- | 12 -- Will be modified by configure script if run -- |
13 | 13 |
14 CFG_SOURCEDIR=nil; | 14 CFG_SOURCEDIR=os.getenv("PROSODY_SRCDIR"); |
15 CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR"); | 15 CFG_CONFIGDIR=os.getenv("PROSODY_CFGDIR"); |
16 CFG_PLUGINDIR=nil; | 16 CFG_PLUGINDIR=os.getenv("PROSODY_PLUGINDIR"); |
17 CFG_DATADIR=os.getenv("PROSODY_DATADIR"); | 17 CFG_DATADIR=os.getenv("PROSODY_DATADIR"); |
18 | 18 |
19 -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- -- | 19 -- -- -- -- -- -- -- ---- -- -- -- -- -- -- -- -- |
20 | 20 |
21 if CFG_SOURCEDIR then | 21 if CFG_SOURCEDIR then |