Add pidfile and logging to ipchanged