Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authormrDoctorWho <mrdoctorwho@gmail.com>2015-04-21 11:41:49 +0300
committermrDoctorWho <mrdoctorwho@gmail.com>2015-04-21 11:41:49 +0300
commit06e919ce0eaece47634ef83d1615f4b24e2eb9aa (patch)
treef3c40a3a84ce55817342c77221801e658bcea110 /init.d
parent57e4db68cd28d7d6400e93016ef9755bdefcb484 (diff)
Okay, I'm doing this again.
The most hard thing was rewriting the core and modules to follow PEP8 guidelines. Still not complete. And will not be completed. Changed config defaults (especially port and pidFile fields) New config option: RUN_AS to run the transport as a specified user (root access required, I think). Plugin variables removed as well. Parts of the code in core was split into the modules: defaults (for default variables), settings (for user/transport settings), longpoll (for longpoll, obviously), utils (for cross-module used functions) Removed unneeded API-call in avatar_hash plugin. Now we hash all user's friends avatars Removed plugin-specific variables from the core. Fixed watcher messages The code of vkapi module (APIBinding class) was split into a PasswordLogin and APIBinding classes. New error handling by vkapi: if it receives “too fast” error, it increases waiting timeout for 0.05 sec until it'll be fine Brand new API for modules In conclusion, I can say that the transport has gone through a huge code cleanup process. I cleaned up especially the core, library and modules. Well, you can see the diff anyways. Meet a brand new VK4XMPP v3.0 And I really hope it will be the last commit. Really, it's enough, I'm done.
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/vk4xmpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/vk4xmpp b/init.d/vk4xmpp
index b87730d..ef553df 100755
--- a/init.d/vk4xmpp
+++ b/init.d/vk4xmpp
@@ -25,7 +25,7 @@ NAME=vk4xmpp
DESC="VKontakte transport"
APPDIR="/usr/share/vk4xmpp"
PIDDIR="$APPDIR"
-PIDFILE=$PIDDIR/pidFile.txt
+PIDFILE=$PIDDIR/vk4xmpp.pid
CONFIG_FILE="$APPDIR/Config.txt"
LOGFILE="$APPDIR/gateway.log"
USER=vk4xmpp