3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-30 23:09:23 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
James Lu
d273941dc8 launcher: add a -R/--rehash option 2017-08-16 12:28:40 -07:00
James Lu
5526dcedca launcher: add --restart/-r and --stop/-s options
Closes #244.
2017-08-16 12:22:43 -07:00
James Lu
3b6c1e56c4 launcher: move reset_permissions() call into the permissions module 2017-08-16 11:21:06 -07:00
James Lu
d03924ae82 launcher: add checks for stale PID files via psutil on Unix
This hasn't been tested on other systems, so it is disabled there.

Closes #512.
2017-08-16 11:12:20 -07:00
James Lu
4379ef68ef Migrate coremods.permissions to snake case 2017-08-02 22:24:23 +08:00
James Lu
f53969a4b2 launcher: reword -n description to mention that it skips PID file checking as well 2017-07-20 21:39:36 +08:00
James Lu
9bec181cec launcher: restore -c/--check-pid as a no-op option for compatiblity 2017-07-20 21:39:29 +08:00
James Lu
498a32a525 launcher: reword "PID exists" error 2017-07-20 21:22:01 +08:00
James Lu
1630d176d0 launcher: re-enable PID file checking by default 2017-07-20 21:19:00 +08:00
James Lu
91659ea992 core: Properly track whether we should actually remove the PID file
Previously, PyLink spuriously removed PID files even if -n/--no-check-pid was set or if PID file checking caused PyLink to quit
2017-07-20 21:13:01 +08:00
James Lu
2113f834a3 Rework the launcher to always call the installed copy of PyLink
This should prevent cryptic errors caused by mismatched PyLink core/launcher versions.
2017-07-20 21:01:16 +08:00