Commit graph

400 commits

Author SHA1 Message Date
Matthew Wild
5ca4d27ae1 prosodyctl: Make the 'restart' command start Prosody even if it wasn't already running 2010-12-11 00:14:34 +00:00
Matthew Wild
e8daf372c9 prosodyctl: Give hosts type = 'local' 2010-11-18 14:33:03 +00:00
Matthew Wild
07243fc7d1 prosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an attempt is made to query Prosody's status (thanks stever) 2010-11-16 13:30:27 +00:00
Matthew Wild
50b20f4af4 util.pposix: Add pposix.uname(), bump version 2010-08-31 15:14:39 +01:00
Matthew Wild
b465aa90b9 util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) 2010-08-28 14:31:48 +01:00
Matthew Wild
ed0cef7718 prosodyctl: Warn and exit if any log files are not writeable, fixes #94 2010-07-09 01:09:57 +01:00
Matthew Wild
9dfb2ebfb4 prosodyctl: Force log output always to the console instead of using the config, which avoids creating log files as the wrong user 2010-07-08 23:56:53 +01:00
Matthew Wild
8db4e7e0b2 prosodyctl: Remove warnings when using a non-standard auth provider, prosodyctl now works with any auth provider 2010-07-08 21:10:42 +01:00
Matthew Wild
40fb762628 Merge 0.7->trunk 2010-06-11 14:25:54 +01:00
Matthew Wild
679ffe558d prosodyctl, util.pluginloader: Remove support for storing plugins in the data store, and the addplugin command 2010-06-11 14:25:22 +01:00
Jeff Mitchell
c316b28787 Update usermanager to not crash, etc. 2010-05-20 14:18:12 -04:00
Matthew Wild
7a03cd0c61 prosodyctl: Support for the new usermanager, refactor host creation and fail if a host is not using the default authentication provider, for now. (thanks Nicola) 2010-05-15 19:38:40 +01:00
Matthew Wild
d0c208f5f1 prosodyctl: Use the global events objects for hosts (again) (thanks albert) (sorry albert) 2010-05-05 20:35:06 +01:00
Matthew Wild
2d20f6c05c prosodyctl: Give each host an independant events object, because it seems to be the right thing to do 2010-05-05 20:14:24 +01:00
Matthew Wild
6131215347 prosodyctl: Relocate global prosody object creation (see fff153f7f4de) 2010-05-05 20:14:03 +01:00
Matthew Wild
b9fac6ba28 prosodyctl: Fix addplugin to support --help, and hide from the help listing (for now) 2010-02-22 01:48:07 +00:00
Matthew Wild
d5759f6b09 prosodyctl: Fix 'restart' command to not report itself as the 'stop' command (thanks albert!) 2010-02-22 01:47:35 +00:00
Matthew Wild
9fad88be5d prosodyctl: Add restart command for KSid and johnny :) 2010-02-21 20:52:54 +00:00
Matthew Wild
c6b03a6b35 prosody, prosodyctl: Re-jiggle load order again, fixes logging config not being obeyed (thanks darkrain) 2010-02-11 11:31:14 +00:00
Ali Sabil
697504312c prosodyctl: Initialize logging before checking dependencies 2010-02-05 16:01:21 +01:00
Matthew Wild
5a1301487a prosodyctl: Don't load luarocks as util.dependencies now does this 2010-01-28 18:11:24 +00:00
Matthew Wild
dc66599615 prosodyctl: Don't display message about failing to start Prosody is daemonizing is disabled (if daemonizing is disabled then Prosody is stopped by the time control returns to prosodyctl, which then can't see Prosody running) 2010-01-28 15:05:30 +00:00
Matthew Wild
08284a586e util.dependencies, prosody, prosodyctl: Give util.dependencies a check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change 2010-01-28 14:56:47 +00:00
Matthew Wild
2cbebc7d42 prosodyctl: Require util.dependencies to run dependency checks, not only for when starting Prosody directly (thanks Joe) 2010-01-25 20:58:15 +00:00
Matthew Wild
cafffad5b8 util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir 2010-01-12 15:35:36 +00:00
Matthew Wild
82ca2f393b prosodyctl: Move definition of prosody singleton to prior to loading datamanager, and add platform 2010-01-10 23:11:28 +00:00
Matthew Wild
1e1d8f62ac prosodyctl: Set umask to protect data files, bump pposix dep to 0.3.2 2010-01-10 22:14:44 +00:00
Matthew Wild
8cf7e1121b prosodyctl: Gracefully handle a missing stty command, and fall back to ANSI escape sequences 2010-01-03 03:36:40 +00:00
Matthew Wild
36372b061c prosodyctl: Nicer errors when addplugin command fails 2009-12-07 18:30:57 +00:00
Matthew Wild
6df0af4776 prosodyctl: Experimental 'addplugin' command 2009-12-02 20:31:54 +00:00
Matthew Wild
76eeca4260 prosodyctl: Put 'pidfile' in quotes to make more clear that it is the literal name of the option 2009-10-31 17:15:20 +00:00
Matthew Wild
67e111826e prosodyctl: Remove dependency on hostmanager, and friends 2009-10-19 16:53:50 +01:00
Matthew Wild
3417c24b88 prosodyctl: Also switch group when we switch user 2009-07-23 03:58:14 +01:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
453b76ef8c prosodyctl: Quit when user pressed ^C in password prompts 2009-07-08 16:53:59 +01:00
Matthew Wild
30f4284b66 prosodyctl: Don't 'blugh' when ^C is pressed during reading passwords 2009-07-08 16:48:49 +01:00
Matthew Wild
5131cb250a prosodyctl: Fix traceback when issued with no parameters 2009-07-08 16:38:46 +01:00
Matthew Wild
b9c0a4931d prosodyctl: Add message for not-running error 2009-07-02 04:54:46 +01:00
Matthew Wild
678d1273e3 prosodyctl: Use prosodyctl_timeout option if it exists in the config 2009-07-02 04:53:31 +01:00
Matthew Wild
aa77e7d21a prosodyctl: Improve usability with status messages, and waiting up to 5s for the server to start/stop 2009-07-02 04:43:08 +01:00
Matthew Wild
59a30ccb0f prosodyctl: Allow commands to be implemented in modules 2009-06-23 01:50:10 +01:00
Matthew Wild
6af56f75b1 prosodyctl: Add error message for no-pidfile 2009-05-26 22:54:46 +01:00
Matthew Wild
ceb73bd435 prosodyctl: Add message for unable-to-save-data error 2009-05-05 16:37:43 +01:00
Matthew Wild
b504f873e7 prosodyctl: Reformat note to fit in small-width terminals 2009-05-05 16:25:13 +01:00
Matthew Wild
6556394e75 prosodyctl: Use correct path for the data directory 2009-05-05 15:47:34 +01:00
Matthew Wild
264c83dbd9 prosodyctl: status: Show warning if we can't find a running Prosody, and we didn't switch user 2009-05-05 13:24:17 +01:00
Matthew Wild
b84c790f0b prosodyctl: Switch to Prosody user before attempting to do anything 2009-05-05 13:23:46 +01:00
Matthew Wild
cb501db20e prosodyctl: Hide ejabberd compatibility commands from command listing 2009-05-03 17:24:35 +01:00
Matthew Wild
c2ca2940ee prosodyctl: Multiple fixes for start/status/stop 2009-05-02 17:48:28 +01:00
Matthew Wild
2fb13bad65 prosodyctl, util.prosodyctl: New prosodyctl utility for managing Prosody servers 2009-05-02 17:03:19 +01:00