Commit Graph

17 Commits

Author SHA1 Message Date
3534729421
Updated code quality removed print statement spaces in singleinstance.py 2021-09-30 17:52:15 +05:30
49f9620236
Add sqlite functions while versioning 2021-04-26 18:30:55 +05:30
lakshyacis
b9ad6a3bac
singleinstance quality fixes 2019-10-31 14:52:43 +05:30
86f0860cb2
Slightly rewritten docstrings in singleinstance 2019-10-18 01:06:03 +03:00
51df0507e2
Fixed signal files creation 2018-10-22 17:18:23 +03:00
4cf73675c2
flake8: bitmessagemain, class_singleCleaner, helper_generic, shutdown
and singleinstance
2018-05-21 13:37:23 +03:00
6b54a4ab0e
Daemonize fix
- forgot to revert a line in previous commit
2018-01-01 13:10:19 +01:00
d9a4263083
Daemonising fixes
- change forking exit order as systemd expects (wait until child is
ready, then exit parent, then grandparent)
- fix signal handler if prctl not installed
- revert recent PID file changes
2018-01-01 13:08:12 +01:00
bcc5a210a4
Fix PID file if not daemonized 2017-12-29 09:13:41 +01:00
3cb9547389
Only write PID after last fork
- should fix systemd integration
2017-12-21 14:26:51 +01:00
623553393b
PID file truncate fix
- on unix it truncated the file if a second instance was being
launched
2017-08-15 12:25:38 +02:00
578c5dd495
Fix windows PID file 2017-08-06 18:29:08 +02:00
3e6de7a9ad
Flush PID file on unix as well 2017-07-28 19:21:56 +02:00
e7382b7714
Write PID into the lock file 2017-07-28 09:39:49 +02:00
4f70eaa01f
Fix curses mode 2017-02-02 15:48:56 +01:00
ac348e4e6b
Fixes and refactoring
- fixes errors introduced in the earlier refactoring
- more variables moved to state.py
- path finding functions moved to paths.py
- remembers IPv6 network unreachable (in the future can be used to skip
  IPv6 for a while)
2017-01-11 17:00:00 +01:00
e84b19613e
Inventory refactoring
- minor refactoring, made it into singleton instead of a shared global
  variable. This makes it a little bit cleaner and moves the class into
a separate file
- removed duplicate inventory locking
- renamed singleton.py to singleinstance.py (this is the code that
  ensures only one instance of PyBitmessage runs at the same time)
2017-01-10 21:15:35 +01:00