diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-21 15:10:23 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-06-21 15:10:23 +0200 |
commit | 6f8da9534efd4b3833a77a10bff9d009a84dcf80 (patch) | |
tree | 05c2f51f1fa10aadc4ca930f307b1b1d21ebd22a /pyLoadCore.py | |
parent | cleaned rslayer plugin (diff) | |
download | pyload-6f8da9534efd4b3833a77a10bff9d009a84dcf80.tar.xz |
Änderung: 1564:40817b13d8b3
Zweig: dev
Marke: tip
Nutzer: Cptn_Sandwich
Datum: Tue Jun 21 14:02:50 2011 +0200
Zusammenfassung: use process names on linux instead of "python"
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index cc77ac88e..5197e4a9a 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -56,6 +56,8 @@ from module.remote.RemoteManager import RemoteManager from module.database import DatabaseBackend from module.database import FileHandler +from module.lib.rename_process import RenameProcess + from module.utils import freeSpace, formatSize, compare_time from codecs import getwriter @@ -914,6 +916,8 @@ def deamon(): # And so it begins... if __name__ == "__main__": + #change name to 'pyLoadCore' + RenameProcess('pyLoadCore') if "--daemon" in sys.argv: deamon() |