summary refs log tree commit diff
path: root/synapse/app/synctl.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move synctl into top dir to avoid a symlinkRichard van der Hoff2018-09-251-284/+0
| | | | | | symlinks apparently break setuptools on python3 and alpine (https://bugs.python.org/issue31940), so let's stop using a symlink and just use the file directly.
* Make the rest of the .iterwhatever go away (#3562)Amber Brown2018-07-211-1/+3
|
* run isortAmber Brown2018-07-091-2/+3
|
* Add hacky cache factor override systemErik Johnston2018-06-041-0/+4
|
* more verbosity in synctlRichard van der Hoff2018-04-061-0/+1
|
* replace old style error catching with 'as' keywordNotAFile2018-03-151-2/+2
| | | | | | | This is both easier to read and compatible with python3 (not that that matters) Signed-off-by: Adrian Tschira <nota@notafile.com>
* Actually make it workErik Johnston2018-01-121-2/+10
|
* RefactorErik Johnston2018-01-121-9/+4
|
* When using synctl with workers, don't start the main synapse automaticallyErik Johnston2018-01-111-8/+26
|
* synctl.py: Check if synapse is already runningAnant Prakash2017-04-131-0/+3
|
* Merge pull request #2107 from HarHarLinks/patch-1Erik Johnston2017-04-071-1/+1
|\ | | | | fix typo in synctl help
| * fix typo in synctl helpKim Brose2017-04-061-1/+1
| |
* | Merge pull request #2078 from APwhitehat/assertuserfriendlyErik Johnston2017-03-311-1/+2
|\ \ | | | | | | add user friendly report of assertion error in synctl.py
| * | add user friendly report of assertion error in synctl.pyAnant Prakash2017-03-291-1/+2
| |/ | | | | | | Signed-off-by: Anant Prakash <anantprakashjsr@gmail.com>
* / synctl.py: wait for synapse to stop before restarting (#2020)Anant Prakash2017-03-291-4/+43
|/
* Use sys.executable instead of hardcoded python. fixes #1161Pedro Larroy2016-10-081-1/+1
|
* Optionally start or stop workers in synctl.Mark Haines2016-06-211-27/+151
| | | | | | | | | | | Optionally start or stop an individual worker by passing -w with the path to the worker config. Optionally start or stop every worker and the main synapse by passing -a with a path to a directory containing worker configs. The "-w" is intended to be used to bounce individual workers proceses. THe "-a" is intended for when you want to restart all the workers simultaneuously, for example when performing database upgrades.
* os.environ requires a stringErik Johnston2016-05-161-1/+1
|
* Make synctl read a cache factor from config fileErik Johnston2016-05-161-0/+4
|
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-3/+3
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Don't change cwd in synctlErik Johnston2015-10-011-2/+2
|
* Fix restartDaniel Wagner-Hall2015-09-241-2/+2
|
* Allow config file path to be configurable in in synctlDaniel Wagner-Hall2015-09-241-24/+26
| | | | Also, allow it to be run from directories other than the synapse directory
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-2/+10
| | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set.
* Don't read from the config file before checking it existsMark Haines2015-05-061-9/+10
|
* missing importMark Haines2015-04-301-0/+2
|
* read the pid_file from the config file in synctlMark Haines2015-04-301-2/+3
|
* Don't write bytecodeErik Johnston2015-02-171-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Fix pep8 codestyle warningsMark Haines2014-11-201-5/+9
|
* Stop before starting when restartingMark Haines2014-11-171-1/+1
|
* SYN-138: Rewrite synctl in python and include it in the python distributionMark Haines2014-11-131-0/+66