Fix init scripts logdir/logfile, kill pids.

Signed-off-by: Bogdan Dobrelya <bogdando@mail.ru>