Smaarn
7e304001b6
Rework on child process management.
...
When receiving the SIGTERM signal, swallow it and terminate latest created child process
Catch ChildProcessError (occurs when child process is terminated by the current python script on mac os x)
5 years ago
Louis Vézina
34711665bb
WIP
5 years ago
Louis Vézina
0fb4160407
WIP
5 years ago
Louis Vézina
31ab819079
Fix for #952 .
5 years ago
Louis Vézina
b434ff2666
Simplify daemon mechanism.
5 years ago
Louis Vézina
2c6a4583d0
Simplify daemon mechanism.
5 years ago
Louis Vézina
f319fc4906
Merge remote-tracking branch 'origin/development' into development
5 years ago
Louis Vézina
2bcb5a6030
Bazarr won't start anymore when launched with Python ealier than 3.7. No more compatibility with 2.7.x
5 years ago
Smaarn
2ee437e45b
[Python 3 only] Changed SIGTERM signal handling.
...
Now the first SIGTERM will propagate a SIGINT to child processes.
A second SIGTERM signal would send a SIGTERM to child processes and "interrupt" itself.
A third SIGTERM signal would actually follow the default system behaviour.
# Conflicts:
# bazarr.py
5 years ago
Louis Vézina
8f1d6883e7
Increased minimal version of Python 3.x to 3.7 instead of 3.6. We have too much trouble with 3.6 and some of our dependencies don't support it anymore.
5 years ago
Louis Vézina
cc61d0188f
Fix for Python 2.7 compatibility regression.
5 years ago
Smaarn
6c0d2926b8
change: log redirection mechanism
...
Rely on native output and error stream printing.
Blocked input reading
5 years ago
ngosang
0083ae3137
code cleanup: bazarr
5 years ago
Smaarn
02c3c98cf8
Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes.
...
Reverted the change for Python 2
5 years ago
Smaarn
e26f7fc49e
Fixed: when receiving a SIGTERM signal, a smooth shutdown procedure should be performed on children processes.
5 years ago
Louis Vézina
e4b6020f63
Added stdout flush even for Python 2.x.
5 years ago
Louis Vézina
0df9b70558
Fix for stdout/stderr logging under Python 3.x.
5 years ago
Louis Vézina
1eb174d9ef
Fix for restarting since Python 3.
5 years ago
Louis Vézina
96f44c6a80
WIP
5 years ago
Louis Vézina
2b2fd4e8d7
WIP
5 years ago
Louis Vézina
bcc4183ef3
WIP
5 years ago
Louis Vézina
b055d89b4f
Merge branch 'development' into python3
...
# Conflicts:
# bazarr.py
# bazarr/get_subtitle.py
5 years ago
Louis Vézina
e7bebc495f
Fix for Python minor version containing something else than digits.
5 years ago
Louis Vézina
645952c61a
WIP
5 years ago
Louis Vézina
fef399d0a4
Fix for Python version check when there's a "+" sign in revision number.
5 years ago
Louis Vézina
dc510c71e3
Added a check for Python version.
5 years ago
Halali
daa6d87e76
Reformat code
5 years ago
ngosang
42bbd7439e
Reduce CPU, Disk and Memory usage
6 years ago
panni
f692930e26
rewrite get_argv to get_args; use in daemon and bazarr; fix os.path.join usage; PEPify most
6 years ago
panni
6cc97a17cd
make bazarr a module; use centralized getopt in daemon; add --debug option for console handler; add logging dependencies
6 years ago
Louis Vézina
376ee719fb
Fix for arguments not passed correctly to child process.
6 years ago
Louis Vézina
e124e1c3fd
Fix to create daemon stop and restart file in config_dir. Add a fix for automatic reloading after restart when using a reverse proxy with SSL.
6 years ago
Louis Vézina
67b722cce1
Continuing development
6 years ago
Louis Vézina
8a1dc9e275
Flushing stdout buffer
6 years ago
Louis Vézina
9c28c30ec8
Add link to restart and manage KeyboardInterrupt
6 years ago
Louis Vézina
a88672070e
Cherrypy test
6 years ago
Louis Vézina
21104b4407
Continuing development
6 years ago
morpheus65535
1cccd810ae
Auto reload after restart
6 years ago
morpheus65535
3008c7a746
Fix for main.py not found
6 years ago
Louis Vézina
1137090735
Moving everything else bazarr.py to a bazarr subdirectory.
6 years ago
Louis Vézina
53b52d364e
More development
6 years ago
morpheus65535
f2497685e8
Renamed bazarr.py in main.py and daemon.py in bazarr.py
6 years ago
morpheus65535
cb385d8706
Initial commit
6 years ago
Halali
a6da80645d
add fix for #151 to save_settings
6 years ago
Halali
20b315a368
fix for DeprecationWarning #162
6 years ago
Halali
bfdc6200b7
minor search engine changes
6 years ago
morpheus65535
8d13e5b548
Version bump
6 years ago
morpheus65535
54329b0d2b
Fix for providers auth not used
6 years ago
morpheus65535
0551f2d0b8
Version bump
6 years ago
morpheus65535
46d8c49355
Fix for Sonarr and Radarr settings testing
6 years ago