Software /
code /
prosody
Comparison
prosodyctl @ 3861:82cf0e8bcdab
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 | 3859:f3216c4a34e8 |
child | 3742:a18acd47904b |
comparison
equal
deleted
inserted
replaced
3860:8abadb7c03b6 | 3861:82cf0e8bcdab |
---|---|
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 |